i want to know if it’s possible to simulate a model in OMShell, that is nested inside a package, that i loaded in OMShell via “loadFile()”. None of my attempts doing it via “loadModel()” or “loadFile()” were succesfull.
Situation is as follows: i have a self written (Modelica) package named “Testpackage” that contains a model named “Testmodel” that i want to simulate in OMShell. The package is not organized in a folder-structure – it’s just the package.mo file.
I manage to load the package-file by navigating via cd(“/path/to/Testpackage”) and then loading the package via loadFile(Testpackage).
After that i am lost. When trying to load Testmodel with command loadModel(Testmodel) i get the message that it tried to load it from the standard Modelica library. Specifying the path it tells me things i don’t know how to interpret.
Thank you for your help in advance!
Roman
Dummer Horst is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.