Open AHaumer opened 5 months ago
@arun3688 can you please take care of this when you'll have some time?
@casella sure i will look into it as early as possible
@AHaumer you are correct the mod
should be replaced to omc prefix object, it was a typo I will fix it,
3. If the package is stored in a directory structure (not as one file), how can it be opened?
Let us assume that your package is stored in a directory with top level package.mo in the following path C:/powersystem/package.mo
and the model you want to simulate is test then you can load it the following way
import OMMatlab.*
omc= OMMatlab()
omc.ModelicaSystem("C:/powersystem/package.mo", "powersystem.test")
omc.simulate()
omc.getSolutions()
Have a look at https://openmodelica.org/doc/OpenModelicaUsersGuide/latest/ommatlab.html:
From where do I get the "mod" in this command?