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

stateslect attribute implementation

stateslect attribute implementation

Hi all,

I would to know if the OpenModelica implemented the statselect attribute for static state selection?

I would to know also how to generate the flattened modelica code. (In dymola dsmodel.mof).

Thank you in advance.

Regards,
Jawhar

Re: stateslect attribute implementation

I know how to generate flattened code, but nothing about stateselect:

If you run omc from a terminal, simply give it a mo-file as argument and it will flatten it.
If you run omc through OMShell, call instantiateModel(className).

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