modelLeadMOrderLag
Lead-lag filter with M poles
Extends from Modelica.Blocks.Interfaces.SISO (Single Input Single Output continuous control block).
Information
Model to implement the following transfer function: y 1 + s*T1
- = k * ---------------
u (1 + s*T2)^M
It is required that M > 0. If T1 = 0 and T2 = 0 then the block is a static gain, otherwise it is required that T1 >0, and T2 > 0.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | M | 1 | Lag 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 |
|---|---|---|---|
| LeadLag | leadLag | ||
| PowerGrids.Controls.FirstOrder[max(0, M - 1)] | firstOrderCascade |