modelTestDerivativeLag

Diagram of TestDerivativeLag

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This model demonstrates the correct behaviour of the DerivativeLag block by computing the response to a step change of the input from 1 to 2 and comparing it to the known analytic solution. The blocks are initialized in steady state.

The filter with dynamics has Td = 4, T1 = 2, while the filter without dynamics has default values Td = 0, T1 = 0.

Components

TypeNameDefaultDescription
PowerGrids.Controls.DerivativeLagderivativeLag
PowerGrids.Controls.DerivativeLagderivativeLagNoDynamics
Modelica.Blocks.Sources.Stepstep
Modelica.Blocks.Sources.RealExpressionderivativeLagAnalyticSolution
Modelica.Blocks.Sources.RealExpressionderivativeLagNoDynamicsAnalyticSolution