Version_0_11_1 class

Requirements.UsersGuide.ReleaseNotes.Version_0_11_1  ยท source

Icon of Version_0_11_1

Version 0.11.1 (Oct. 16, 2026)

Extends Modelica.Icons.ReleaseNotes

A steady-state check example, the verdict printed once, self-contained documentation. No requirement semantics changed.

New example

Examples.SteadyState.CheckHeatExchanger checks the steady-state requirements of the MSL heat exchanger in a plain simulation and prints them with PrintViolations, in any Modelica tool. It extends HeatExchangerSimulation, which stays a plant without requirement blocks.

  • A requirement block reports a violation if its property is Violated at any instant, but a steady-state requirement is about the settled operating point. Each requirement is therefore written as during(steady, check): Undefined (not applicable) while the run is still moving.
  • steady holds in the last quarter of the run while both outlet temperatures change by less than dTdtMax; the rates come from SignalAnalysis.ApproximateDerivativeWithFilter.
  • R0_settled checks that the run has settled. If it has not, R0 is violated and the other requirements stay untested instead of being judged on a transient value.
  • The standard PrintViolations suffices: a steady-state verdict is taken at the end of the run like any other.

Bug fix: the verdict printed twice

Modelon Impact evaluates the when-equations that take the verdict twice at the event instant (with useEvaluationTime = true, at evaluationTime; measured 2026-10-16, also with evaluationTime before the stop time). Every requirement then wrote its line to the log file twice and PrintViolations printed the summary twice, the second time with every requirement counted double ("2 of 6" for three requirements). The satisfaction percentage was not affected. Both writes are now idempotent:

  • Internal.printViolationsToLogFile skips a requirement whose line is already in the log file.
  • Internal.initializeLogFile also removes the HTML report of an earlier run (new input htmlFile, default "" = none), and Internal.printViolationsToOutput returns at once when the report already exists: the summary is printed once per run.

A tool that evaluates the when-equations once (Dymola, OpenModelica, and every tool at terminal()) behaves as before. No stored regression signal moved: the full Impact suite passed 488/488 checks afterwards.

Documentation

  • The documentation is self-contained. The relation to the verification framework the library is used in is explained once, in the User's Guide; the rest of the documentation does not refer to it.
  • LinearAnalysis explains the two steps of a linear-analysis requirement (linearize in a tool, check in Modelica), the routes for producing the state-matrix file in different Modelica tools, from an FMU and from Python, and gives a template check model.
  • The repository MBILLC/Requirements is public; the User's Guide and the Contact page link to it.

Changes

  • Examples.SteadyState.CheckHeatExchanger: new example.
  • Internal.initializeLogFile: new input htmlFile (default ""); Verify.PrintViolations passes its htmlFile.
  • Internal.printViolationsToLogFile, Internal.printViolationsToOutput: idempotent.
  • conversion(noneFromVersion="0.11.0"): no model needs conversion.