OMPython icon indicating copy to clipboard operation
OMPython copied to clipboard

A Python interface to OpenModelica communicating via CORBA or ZeroMQ

Results 47 OMPython issues
Sort by recently updated
recently updated
newest added

Overview ---------- The argument '-override' of (model).exe has the following syntax (model).exe -override=startTime=0,stopTime=5,stepSize=0.01,tolerance=1e-06,solver=dassl,mdl.param1=0.5,mdl.param2=2.0,outputFormat=csv,variableFilter=. * ModelicaSystems.simulate() will give the '-override' option if parameters or simulation options are set using setParameters() or...

### Related Issues This pull request was inspired from the discussion in issue #151 ### Purpose - Enable the usage of a pre-built model executable when instantiating `ModelicaSystem`. This will...

### Description The use of distutils.spawn [here](https://github.com/OpenModelica/OMPython/blob/22842296fea438c315f7638f53f6eb68571b10c8/OMPython/__init__.py#L36) is deprecated: ``` OMPython\__init__.py:36: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632...

A similar issue to https://github.com/OpenModelica/OMJulia.jl/issues/12 could occur here as @arun3688 pointed out. I leave this issue as an open issue here as well. Some kind of polling should be implemented...

question

As part of the copyright notice at the top of source files is the paragraph ``` THIS PROGRAM IS PROVIDED UNDER THE TERMS OF THE BSD NEW LICENSE OR THE...

As a user, I would like to be able to connect to an already running omc --interactive process that is listening at a certain host/port. That is, I want `OMCSessionZMQ`...

I am trying to plot results using the ModelicaSystem API, but the plot window is not shown. This is on Windows, using OMPython master and a recent OM nightly(OpenModelica v1.18.0-dev.beta1...

I am using OMPython version 3.3.0, Python version 3.8. When calling "getComponents", the OMTypedParser breaks if a parameter has a variable length array. See below **test.py** ```python from OMPython import...

I would like to have a way to load a model from MSL or an other library in your Modelica library path with `ModelicaSystem`. Apparently some new users are struggling...