Search code examples
modelicaopenmodelica

OpenModelica show result while still running simulation


Is it possible for OpenModelica to monitor a variable while the simulation is still running? Something like the scope in Matlab Simulink. Currently I'm using OMEdit v1.12.0 and it only plots all the results at the END of the simulation. I'm a newbie with Modelica, I have searched but could not find anything useful.


Solution

  • Try the new interactive simulation https://openmodelica.org/doc/OpenModelicaUsersGuide/latest/omedit.html#interactive-simulation

    Note that you need to download the latest nightly build since its not part of 1.12.

    Adeel.