Opened 5 years ago
Last modified 5 years ago
#5807 closed defect
Start value for final parameters with fixed=false is ignored — at Initial Version
Reported by: | Francesco Casella | Owned by: | Andreas Heuermann |
---|---|---|---|
Priority: | blocker | Milestone: | 1.16.0 |
Component: | Run-time | Version: | |
Keywords: | Cc: | Karim Adbdelhak |
Description
Consider the following model (also attached)
model TestInitStart final parameter Real p(start = p_start, fixed = false); parameter Real p_start = -2; initial equation (p - 1)*p*(p+2) = 0; annotation(__OpenModelica_simulationFlags(lv="LOG_NLS_V")); end TestInitStart;
The Newton solver log clearly shows that the iterations start at p = 0
, not at p = -2
as expected, leading the convergence to the wrong solution.
This issue is preventing me to initialize in steady-state the big power plant model that I will present at the OpenModelica Workshop next week, so fixing this issue is currently top priority to show that OpenModelica can handle such real-life, complex models effectively.
Note:
See TracTickets
for help on using tickets.