Disturbance model

Requirements.Examples.Elementary.StepResponse.Disturbance  ยท source

Icon of Disturbance

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

NameTypeDescription
loadModelica.Blocks.Sources.Stepthe load torque, stepping at 2.5 s
responseModelica.Blocks.Sources.ExpSinethe speed: 1 - 0.1 exp(-3 (t - 2.5)) sin(4 (t - 2.5)) after the load step -- a dip and a damped return
setpointModelica.Blocks.Sources.Constantthe speed setpoint
dipRequirements.ChecksInFixedWindow.StepResponseCheckthe 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)
dipPercentRequirements.ChecksInFixedWindow.StepResponseCheckthe same in percent: no base (the speed starts and ends at the setpoint), Undefined at the close
recoveryRequirements.ChecksInFixedWindow.StepResponseCheckback within 0.01 of the setpoint within 1.5 s: satisfied at the close
dampingRequirements.ChecksInFixedWindow.StepResponseCheckthe damping ratio from the dip and its return