modelRampTrackingFilter
Ramp tracking filter
Extends from Modelica.Blocks.Interfaces.SISO (Single Input Single Output continuous control block).
Information
Model to implement the following transfer function: _ _
| |^N
y | (1 + s*T1) |
- = k * |--------------|
u | (1 + s*T2)^M |
|_ _|
If N = 0 then the block implements a static gain, otherwise both M and N must be greater than 0. If T1 = 0 and T2 = 0, the block also implements a static gain.
Neither output limitation nor anti-windup are implemented.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | N | 1 | N Order |
| Integer | M | 1 | M Order |
| Real | k | 1 | Gain |
| SI.Time | T1 | Lead time constant | |
| SI.Time | T2 | Lag time constant | |
| Initialization | |||
| Modelica.Blocks.Types.Init | initType | Modelica.Blocks.Types.Init.NoInit | Type of initialization (1: no init, 2: steady state, 3/4: initial output) |
| Real | yStart | 0 | Initial or guess value of output (= state) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput | u (from SISO) | Connector of Real input signal | |
| RealOutput | y (from SISO) | Connector of Real output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| PowerGrids.Controls.LeadMOrderLag[N] | leadMOrderLagCascade | ||
| Modelica.Blocks.Math.Gain | gain |