Skip to content

Version 0.20.1

Choose a tag to compare

@hubertus65 hubertus65 released this 02 Dec 22:02
· 22 commits to main since this release
Immutable release. Only release title and notes can be modified.
9634cd1

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 (default false). With true, 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.ShortExcursionFromFile asserts that a 3 ms excursion is caught with row events. With them off, OpenModelica 1.27.1 misses it.
  • Internal.CSV.File's constructor and RequirementsCsv_open take the new input. With the default, every result is unchanged, and no model conversion is needed.