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
set attribute for CasadiModel (Parameter Estimation)
Thu, 2012-04-26 21:03
#1
set attribute for CasadiModel (Parameter Estimation)
Fri, 2012-04-27 08:50
#2
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.
Thu, 2012-05-24 11:00
#3
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.