Search code examples
modelingmodelicaopenmodelica

Changing input values during simulation


In openmodelica OMEdit, is there a way to resume a simulation after changing input values for a model? or is there a way to provide input vectors? I want to test a model and see its behaviour by changing inputs during simulation (without creating additional models that generate inputs).

Also what is the purpose of this bar shown below in the plotting perspective?

enter image description here


Solution

  • You can re-simulate the model after changing the input values see Re-simulating a Model.

    The simulation time bar is used with Array Plot and state machine debugging.