#4359 closed defect (fixed)
start-value are not initialized correctly
Reported by: | Willi Braun | Owned by: | Lennart Ochel |
---|---|---|---|
Priority: | blocker | Milestone: | 1.12.0 |
Component: | Initialization | Version: | |
Keywords: | Cc: | Francesco Casella |
Description
In following simple example:
loadString(" model B parameter Real a(fixed=false); parameter Real b(fixed=false); Real w(start=a); Real y(start=b); initial equation a=4; b=6; equation sin(w*y)+cos(w)*y=time; sin(w*y)+sin(y)+w=(a+b)*time; end B; "); getErrorString(); simulate(B, stopTime=0.5); getErrorString();
the start-values of the iteration variables y,w
are set to zero an not as expected to 4 and 6.
Change History (4)
comment:1 by , 8 years ago
Status: | new → accepted |
---|
comment:2 by , 8 years ago
This affects the large-scale power system models that we have been developing for CESI/TERNA. It will sure enough be critical for RTE and all of their power system models, and it is also critical for the paper we are presenting at the next Modelica Conference, because it hinders the initialization of the larger test cases.
comment:3 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
I've fixed this (and a couple of related bugs) with the following pull requests:
comment:4 by , 8 years ago
Milestone: | Future → 1.12.0 |
---|
Note:
See TracTickets
for help on using tickets.
Which libraries are affected by this?