Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

only single nonstructured entity

only single nonstructured entity

Hello,

I have several Modelica models that I cannot open and simulate with OpenModelica because they don't have a single nonstructured entity. How best to convert these models into models that can be opened with OpenModelica? Is this only possible through manual refactoring of the models? If yes, is there a certain best practice to apply?

Best regards,
Axel

Re: only single nonstructured entity

They can be opened in OpenModelica, but not OMEdit.

Re: only single nonstructured entity

You can load them via scripts or command line in omc.

If you want them in OMEdit then you need to encapsulate them in a package:

Code:


within ;
package MyPackage
// contents of the other file
end MyPackage

Re: only single nonstructured entity

Thank you very much!

There are 0 guests and 0 other users also viewing this topic
You are here: