Relative Content

Tag Archive for modelicaopenmodelica

How to use initial equations in open modelica?

I am trying to declare a table that is correlated to another one. My goal is to declare a table with dimensions (nlines, 2) and then create another table that starts with a given value and evolves in the same manner as the first table. To achieve this, I use initial equations because I want the correlated data to be ready before the simulation starts.

How to use convertPackageToLibrary function?

I’d like to understand when and how to use the function OpenModelica.Scripting.convertPackageToLibrary. I think the documentation on this is very sparse and I am not successful trying to use it in any way.