modelTestLeadLag
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This model demonstrates the correct behaviour of the LeadLag 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 k = 10, T1 = 4, T2 = 2, while the filter without dynamics only has k = 10.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| PowerGrids.Controls.LeadLag | leadLag | ||
| PowerGrids.Controls.LeadLag | leadLagNoDynamics | ||
| Modelica.Blocks.Sources.Step | step | ||
| Modelica.Blocks.Sources.RealExpression | leadLagAnalyticSolution | ||
| Modelica.Blocks.Sources.RealExpression | leadLagNoDynamicsAnalyticSolution |