
modelLimPI
Information
This block represents a PI controller with simple anti-windup measure.
When limit is exceeded, the integrator is clamped.
y = yp + yi
ki
= kp*u + --*u
s
Parameters
| Type | Name | Default | Description |
| Modelica.Blocks.Types.Init | initType | Modelica.Blocks.Types.Init.InitialState | Type of initialization (1: no init, 2: steady state, 3,4: initial output) |
| Real | outMax | | Upper limit of output |
| Real | outMin | -outMax | Lower limit of output |
| Real | kp | 1 | Proportional gain of controller |
| Real | ki | 1 | Integrator gain of controller |
| Real | y_start | 0 | Initial or guess value of output (= state) |
Components
| Type | Name | Default | Description |
| Real | yk | | Proportional part of controller |
| Real | yi | | Integral part of controller |