Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

OMSimulator with Python

OMSimulator with Python



I came across an issue in executing FMU in python program using OMSimulator. I am using OpenModelica 1..13.2 for creating the FMU and OMSimulator 2.0 for simulating FMU. OMSimulator fails to simulate the FMU, generated from model that runs without any errors in OMEdit. For example, the FMU generated for the HeatExchangerSimulator model in Modelica Fluid library fails to simulate on OMSimulator.

Modelica.Fluid.Examples.HeatExchanger.HeatExchangerSimulation.fmu error: [fmi2logger] A (logStatusError): C:/OpenModelica1.13.264bit/lib/omlibrary/Modelica 3.2.3/Media/Water/IF97_Utilities.mo:2897: IF97 medium function tsat called with too low pressure p = -4.72182e+006 Pa <= 611.657 Pa (triple point pressure) error: [fmi2logger] A (logFmi2Call): fmi2EnterInitializationMode: terminated by an assertion.

This is true with few other library models also.

Any suggestions?

Thank You

There are 0 guests and 0 other users also viewing this topic