Disturbance model
Requirements.Examples.Elementary.StepResponse.Disturbance
ยท source
A load step with the response returning to its setpoint: the peak deviation is the overshoot, a percent bound has no base
Extends Modelica.Icons.Example
A disturbance step: the load steps at 2.5 s and the speed dips by 0.040 and returns to its setpoint of 1 as a
damped oscillation. With target = Reference the metrics are measured against the setpoint input:
the response's change over the step is zero, so the excursion is oriented by its largest deviation and the
overshoot is the peak deviation (0.040, violating an absolute bound of 0.03 as soon as it is passed);
a percent bound has no base and its property is Undefined; the settling time is the return to within 0.01 of the
setpoint; the damping ratio comes from the dip and the return overshoot.
Copyright © 2026 Model Based Innovation LLC. All rights reserved.
Components and variables
| Name | Type | Description |
|---|---|---|
load | Modelica.Blocks.Sources.Step | the load torque, stepping at 2.5 s |
response | Modelica.Blocks.Sources.ExpSine | the speed: 1 - 0.1 exp(-3 (t - 2.5)) sin(4 (t - 2.5)) after the load step -- a dip and a damped return |
setpoint | Modelica.Blocks.Sources.Constant | the speed setpoint |
dip | Requirements.ChecksInFixedWindow.StepResponseCheck | the deviation from the setpoint shall be at most 0.03: the dip of 0.040 violates it (the overshoot of a disturbance is the peak deviation) |
dipPercent | Requirements.ChecksInFixedWindow.StepResponseCheck | the same in percent: no base (the speed starts and ends at the setpoint), Undefined at the close |
recovery | Requirements.ChecksInFixedWindow.StepResponseCheck | back within 0.01 of the setpoint within 1.5 s: satisfied at the close |
damping | Requirements.ChecksInFixedWindow.StepResponseCheck | the damping ratio from the dip and its return |