OMPython
OMPython copied to clipboard
A Python interface to OpenModelica communicating via CORBA or ZeroMQ
Hello, I am trying to open one file VSC_Test.mo that I developed using three default Modelica libraries (Modelica 3.2.3,Complex 3.2.3,ModelicaServices 3.2.3) and 2 other libraries (OpenIPSL,HVDCcomponents). However when I try...
Hi, I get the error in subject on Release 3,2,0 when calling "omc = OMCSessionZMQ()". The error does not appear using Release 3.1.2. Difference is in the use of "shell=True"...
I try to manipulate the state variables of my model (exported from openmodelica) with the functions getContinous and setContinous . I manage to get the state variables with getContinous but...
When filing #63 I thought rather than having to rely on manually specifying the used libraries in the `ModelicaSystem` call like: ```mo mod=ModelicaSystem("BouncingBall.mo","BouncingBall","Modelica") ``` OMPython should be clever enough to...
https://github.com/OpenModelica/OMPython/blob/a5c90a0a146687afb96f0f88bd9c9af7066ef65e/OMPython/__init__.py#L430 Seems like a copy-paste error, should it be recursive={0} and so on?
When testing with `omc = OMCSessionZMQ()` I get the following error: ``` 2019-06-05 17:17:03,438 - OMPython - ERROR - OMC Server is down. Please start it! Log-file says: Created ZeroMQ...
I think it would be useful to add these changes to OMPython: 1.) When calling getParameters() and if a parameter is a string that is not true or false and...
I have a Modelica model (can't share that sadly). Using OMEdit, using certain parameter values the simulation (rightly so) fails to finish, and the OMEdit output console gives an error...
Running the bouncingBall script on a Docker container with Debian and OMModelica installed appears to set up the OMC server but the ModelicaSystem call isn't returned: >>> omc = OMCSessionZMQ()...
Using getXXXX() method from ModelicaSystem class loads the results and parameter values from the resultant MAT file with the default name "model_name_res.mat". But if the same model has to be...