set attribute for CasadiModel (Parameter Estimation)

3 posts / 0 new
Last post
DenBaeten
Offline
Joined: 2012-02-23
set attribute for CasadiModel (Parameter Estimation)

Dear,
 
Is it possible to set a parameter in a CasadiModel? I want to do a parameter estimation on a model and I want to set a parameter in the casadiModel. The casadimodel has no attribute 'set', but can I do it in another way?
 
With kind regards,
Rutger

fredrik
Offline
Joined: 2011-08-26
Unfortunately, this is not

Unfortunately, this is not yet supported. It is, however, in the works, so basic parameter setting features may be available as early as next week.

fredrik
Offline
Joined: 2011-08-26
After various delays,

After various delays, preliminary support for setting parameter values in CasadiModel is now available as of revision [3433] (so you can look forward to it in JModelica 1.8, due in some weeks). There are however some limitations. In particular, only equations and initial equations take the new parameter values into account; attributes like min and nominal still use the parameter values set at compile-time (start attribute values, however, properly propagate into the initial equations).
 
The feature is still largely untested, so please look out for and report any strange behavior.

Login or register to post comments