Version_0_10_0 class
Requirements.UsersGuide.ReleaseNotes.Version_0_10_0
ยท source
Version 0.10.0 (Sept. 16, 2026)
Extends Modelica.Icons.ReleaseNotes
Step-response metrics. The classic control requirements -- overshoot, undershoot, rise time, delay
time, settling time, steady-state error, damping ratio, decay ratio -- as blocks:
SignalAnalysis.StepResponse computes the
running metrics of a response u after a step of a signal r, sampled at
samplePeriod (at the half-periods, off a result grid of the same period): the step as a change of
r between two samples (of at least threshold), its window to the next step or
T_window after it, the target the stepping signal after the step or a reference input
(Types.StepTarget), the peak and its instant, the level crossings interpolated between samples,
the last exit from the settling band, the current deviation, the extrema beyond the target and the damping
and decay ratios from them;
ChecksInFixedWindow.StepResponseCheck
bounds one metric (Types.StepMetric) and emits Property and margin:
Undefined before the first step, Undecided from the step to the earliest sample the bound is provably met or
broken, decided at the window's close otherwise, the margin following the running metric. Where the same metrics are
also evaluated on the stored trajectory after the run, the blocks agree with that evaluation to one sampling
period.
Examples.Elementary.StepResponse
asserts the blocks against the closed forms of a second-order step response and a disturbance.
Measured on the way: a sampled block whose period equals the result grid makes OpenModelica's CVODE runtime
stall on an event and an output point 1e-14 s apart (an endless desired step too small); the blocks
therefore sample at the half-periods. The 6000 sample events of a 6 s run restart the solver every
millisecond and its accumulated error is what the sampled block sees: the second-order example's peak reads
0.2 % low against the closed form under OpenModelica's cvode and 0.3 % low under Modelon Impact's CVode (0.9 % at
rtol 1e-4), where dassl, ida and Impact's Radau5ODE reproduce it at every tolerance (measured; the
tolerances of the example's asserts say so, and the regression lists run it under dassl on OpenModelica and under
Radau5ODE on Impact). Choose a solver that is not degraded by frequent sample events when the peak matters. The example's two states carry
nominal values (0.1 and 0.5) so the absolute tolerance is scaled to the 0.1 m step; it helps CVode a
little at 1e-6 and not at 1e-4. When the block reads a plant's stored trajectory in a second run (through
Sources.PartialSignalsFromFile, with no solver error between plant and check), it agrees with an
evaluation on that trajectory on both tools.
Changes
Types.StepTarget,Types.StepMetric: new enumerations.SignalAnalysis.StepResponse,ChecksInFixedWindow.StepResponseCheck: new blocks.Examples.Elementary.StepResponse:SecondOrder,Disturbance.conversion(noneFromVersion="0.9.1"): no model needs conversion; no existing block changed.