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

Attributes for parameters and variabels

Attributes for parameters and variabels

Hello,

I was wondering if the OpenModelica make use of attributes such as min, max, nominal during the symbolic transformation of the flat DAE-system?

We're generating Modelica code and I was wondering if it would be worth while to add such attributes.

Thanks a lot,

Patrik

Re: Attributes for parameters and variabels

Hi,

Yes it does.
Is used for scaling during initialization and I think also when solving non-linear systems.
Also, if the value exits outside the [min, max] interval a warning will be given in output.log file.

Cheers,
Adrian Pop/

Re: Attributes for parameters and variabels

Ok great,

thanks a lot!

Out of curiosity, I noticed that tearing is default in 1.9.0beta, does that algorithm also make use of any of the mentioned attributes?

cheers,

Patrik

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