Opened 8 years ago
Last modified 8 years ago
#4116 closed defect
Start values of states are hardly changeable — at Initial Version
Reported by: | Rüdiger Franke | Owned by: | Lennart Ochel |
---|---|---|---|
Priority: | high | Milestone: | 1.11.0 |
Component: | Backend | Version: | |
Keywords: | Cc: | Patrick Täuber |
Description
The attribute isValueChangeable
is true for state variables, even though Modelica insists in initial values, like in the following example:
model IsValueChangeable parameter Real x_start = 0; Real x(start = x_start, fixed = true); Real y; Real z; initial equation y = 0; equation der(x) = 1; der(y) = 1; der(z) = 1; end IsValueChangeable;
Doesn't this mean that start values of state variables are hardly ever changeable?
Note:
See TracTickets
for help on using tickets.