Changes between Initial Version and Version 1 of Ticket #6003, comment 2
- Timestamp:
- 2020-06-16T11:44:29Z (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6003, comment 2
initial v1 1 1 The basic problem is that `MpxIndex.y` has no initial value and needs to be determined during intialization. The algorithm is not smart enough to figure out by itself that it needs to be fixed (this is a heuristic so you need to help it a little bit). 2 2 3 Since you already provided a start value for this discrete value you seem to know what it should l ike at the start. Just fix it with `fixed=true` and everything works fine.3 Since you already provided a start value for this discrete value you seem to know what it should look like at the start. Just fix it with `fixed=true` and everything works fine. 4 4 5 5 In general: each state and each discrete variable needs to have either a fixed start value or an initial equation (which does not necessarily have to contain it, e.g. steady state initialization `der(x) = 0.0`. it just to be logically connected). I would not rely on the tool to figure out these things on its own, that can be weird sometimes.