Coder Social home page Coder Social logo

docker-toolsuite's People

Contributors

edwinmat avatar edwinmatthijssen avatar ewoudwerkman avatar larsderidder avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

docker-toolsuite's Issues

Error message during step 2.

Hi,

During step 2 (Importing the keycloak settings for the MapEditor) while installing on a local machine the below error occurs.
Similar messages are displayed for other ports. Keycloak can be accessed via the local adress but the esdl realm is not displayed.
Any suggstions on how to resolve this would be greatly appreciated.

11:13:32,103 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service org.wildfly.undertow.listener.default: org.jboss.msc.service.StartException in service org.wildfly.undertow.listener.default: Address already in use /127.0.0.1:8080
at [email protected]//org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:209)
at [email protected]//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
at [email protected]//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
at [email protected]//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
at [email protected]//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at [email protected]//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.base/java.lang.Thread.run(Thread.java:834)

File permissions mounted file in Docker container MacBook

When trying to run the software stack on a MacBook an error occurs in step 1 of the installation instructions.

postgres | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init-database.sh
postgres | /usr/local/bin/docker-entrypoint.sh: /docker-entrypoint-initdb.d/init-database.sh: /bin/bash: bad interpreter: Permission denied

It appears that the init-database.sh script is mounted with file access permission 600 and therefore cannot be executed

Empty dropdown menu and error in Python backend

Hello,

I want to try the the ESDL MapEditor, for that I have followed the guide presents in the README of this repository to install the whole infrastructure. All the steps before step 7 work pretty great but when I am in the ESDL MapEditor page, the dropdown menues at the top-left corner are empty. The loader at the center of the screen turns indefinitely.

image

I have errors on the browser console:

image

When I click on the dropdown menu:

image

In the backend-side, I have some errors too:

image

image

I have checked a bit the code, but the version 22.10.0 isn't tagged on the ESDL MapEdditor Github. The two problems are caused by the same function:

https://github.com/ESDLMapEditorESSIM/esdl-mapeditor/blob/6d3d84086c027a2f639032fc088bd89330273523/extensions/settings_storage.py#L94-L103

But I don't really understand why, because the functions that call this one seem to check before if the setting exists for the specified user:

https://github.com/ESDLMapEditorESSIM/esdl-mapeditor/blob/7deb97bd441c7589b490eb53d9e8744b97283402/src/view_modes.py#L378-L386

So I don't really know if it's because I may not have checked the right version of the code or if it's due to something else like a bad configuration.

Some information about my setup:

  • I am on Windows 11 and I tried to follow the installation guide with Windows and with WSL (Ubuntu).
  • Version of Docker: 20.10.22
  • Version of ESDL-mapeditor: latest (22.10.0 at this time)
  • I am in Mozilla Firefox

Problem with Current profiles

Hello, when I try to load the profiles I get the following error:

"Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again."

I'm using docker (version 20.10.17, build 100c701) and docker-compose (v2.6.0)

Thank you

Marcel

Python API for ESDL

Hello, I am analyzing new distributed control strategies that allow me to coordinate different producers, for this I plan to use python.

Already reviewed these documents

https://github.com/EnergyTransition/ESDL-PyEcore-Tutorial/blob/master/ESDLTutorials.ipynb
https://github.com/redekok/startanalyse-esdl/blob/master/parse_data.py

But I need to know the Python API for ESDL where all the parameters of the system models are explained in detail. Any suggestion? Where can I find more information?

I plan to generate the ESLD with the graphical interface and then read and write from python to generate the analyses.

Thank you

Keycloak doesn't start correctly on docker-compose up

Context:
docker-compose up on my local machine (linux containers)

Following error occurs in bringing up the services:
keycloak | 09:19:31,682 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "microprofile-metrics-smallrye")]): java.lang.NullPointerException

At restart, the following error occurs:
keycloak | User with username 'admin' already added to '/opt/jboss/keycloak/standalone/configuration/keycloak-add-user.json'

Bringing the compose down, and removing all volumes before a restart doesn't solve.
Any help or workaround would be appreciated.

Questions about modeling and simulation with Python

Hi Edwin, I'm studying the API and doing some simple exercises to understand ESDL, but I have some questions.

  • What is the difference between working with pyecore and pyESDL? When should I apply each?

  • I need to model a solar panel and an electrical consumer, using the environment profiles to introduce the irradiance. How do I link in the environment profile with the PV panel in python? . On the other hand, what attributes do I use to obtain the potential in Watt of the solar panel based on the irradiance and the real power delivered by the panel to the load?

  • When reviewing the battery it only has one input port, how can I analyze and change its dynamics in python as a producer and then as a consumer?

  • The objective of my research project is to model and study in ESDL some DER with ESS, PV, utility grid, ... that coordinate with each other to activate or deactivate to satisfy demand, according to certain hypotheses and incorporating a new strategy emergent control. What is the simplest modeling that you recommend to implement it in ESDL with python?

  • In the ESDL graphical editor, can I incorporate indicators or measurements to visualize the change of the variables of interest? While the simulation is running, as well as visualize in real time the enabling or disabling of the assets ???

  • I am getting this problem when I upload the CSV file of the irradiance in environment profiles (Edit/Enviromental profiles/irradiance), at first it seems to work but when I save the .esdl file locally or in the Drive of my account, said information does not appear when trying to load again.

  • Is there a standard library of KPIs by type of assets?

Thanks

Marcel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.