modelTestDerivativeLag
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
| Type | Name | Default | Description |
|---|---|---|---|
| PowerGrids.Controls.DerivativeLag | derivativeLag | ||
| PowerGrids.Controls.DerivativeLag | derivativeLagNoDynamics | ||
| Modelica.Blocks.Sources.Step | step | ||
| Modelica.Blocks.Sources.RealExpression | derivativeLagAnalyticSolution | ||
| Modelica.Blocks.Sources.RealExpression | derivativeLagNoDynamicsAnalyticSolution |