-
Notifications
You must be signed in to change notification settings - Fork 65
Description
Hello,
I am trying to load this type of modelica library https://github.com/UdK-VPT/BuildingSystems/blob/master/BuildingSystems/Applications/PhotovoltaicSystems/PhotovoltaicSystem.mo and I am having the next error
2018-04-25 18:29:03,435 - OMPython - INFO - OMC Server is up and running at file:////tmp/openmodelica.proto.port.1b96d47d2ac3433887c3324306650d06
loadFile Error: Error: Failed to insert class PhotovoltaicSystem within BuildingSystems.Applications.PhotovoltaicSystems;
the available classes were:
I have not classes inside this .mo file.
mod=ModelicaSystem(".../BuildingSystems-modelica/BuildingSystems/Applications/PhotovoltaicSystems/PhotovoltaicSystem.mo", "PhotovoltaicSystem", "Modelica")
How could I load this type of modelica file with OMPython?
Thanks!
I also have another question. I am interested to know if it is possible to modify/update variables in real time. I want to take for example the battery load and take this variable inside a control logic, then put some actions against the battery within a reinforcement learning algorithm inside python. Is it possible to do with Modelica?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status