Repository navigation
Version 0.20.1
·
22 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
The CSV reader can stop the solver at every row. Sources.PartialSignalsFromFile makes the solver stop only where a Boolean or Integer column changes. A model with few or slow states can therefore step across a short excursion of a Real column, and a check reading that column never sees the limit crossed. This happened in Modelon Impact on a co-simulation trace: v <= 10 stayed Satisfied over an excursion to 10.04.
- New parameter
rowEvents(defaultfalse). Withtrue, every row's time is an event. A Real column's extremes lie on rows, so the solver sees every crossing of a fixed limit, in every tool. The cost is one event per row. Examples.Elementary.Sources.ShortExcursionFromFileasserts that a 3 ms excursion is caught with row events. With them off, OpenModelica 1.27.1 misses it.Internal.CSV.File's constructor andRequirementsCsv_opentake the new input. With the default, every result is unchanged, and no model conversion is needed.