Changes between Version 1 and Version 2 of Ticket #6003, comment 2


Ignore:
Timestamp:
2020-06-16T11:44:51Z (4 years ago)
Author:
Karim Adbdelhak

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6003, comment 2

    v1 v2  
    33Since 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.
    44
    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.
     5In 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 needs to be logically connected). I would not rely on the tool to figure out these things on its own, that can be weird sometimes.
    66
    77The only thing i changed to get it running is updating line 5 and 6 in `test_error.mo` to be