Version_0_12_1 class
Requirements.UsersGuide.ReleaseNotes.Version_0_12_1
ยท source
Version 0.12.1 (Oct. 19, 2026)
Extends Modelica.Icons.ReleaseNotes
Bug fix: DelayedRising at coincident events.
LogicalBlocks.DelayedRising assigned its output in a
when/elsewhen chain: a rising edge of u started the duration, the end of the
duration set y = true, a falling edge set y = false. When u fell at the instant the
duration ran out, both conditions became true in the same event iteration, only the first branch ran, and since
not u was then already true it never had a rising edge: y stayed true while u was
false, until the next rising edge of u. Whether this happened depended on the order in which the tool handled
the two events. Modelon Impact did it; Dymola did not.
The block is now y = u and time >= startTime + duration, with startTime the instant of the
last rising edge of u. y is never true while u is false, in any tool, and an input
that is true for exactly duration does not make y true. The interface and every other behaviour
are unchanged.
Where it showed
- Examples.BackupPowerSupply.MainPowerSupplyRequirements:
the on phases of the main power supply are exactly 10 s long, and R8 (available again when on for more than 10
consecutive seconds) uses
DelayedRising(On, 10 s). The example's documented verdict is untested; on Modelon Impact R8 was violated at 55 s, becauseduring4's condition stayed true from 50 s to 60 s. It is untested now. - The regression references of that example on Impact (the composite list and the Impact-only list; it has no Dymola
or OpenModelica reference, which recorded the faulty behaviour) were re-stored:
MPS.during4.yandMPS.duringAny4.ymoved, nothing else. The full Impact suite passed 561/563 before, with exactly those two failing, and 563/563 after; the Impact-only list 61/63 before and 63/63 after. - Found by ModCheck's requirements corpus:
TC-SYS-MainPowerSupply's REQ-8 is untested again on Impact. The other two corpus items withDelayedRisingare unchanged.
No model conversion is needed: conversion(noneFromVersion="0.12.0").