modelLimPidAdsolair
Extends from Modelica.Blocks.Interfaces.SVcontrol.
Parameters
| Type | Name | Default | Description |
| Real | y_off | 0 | Value of controller output while it is off |
| Boolean | useRevActIn | false | Use reverse action input |
| Boolean | revActPar | false | Reverse action |
| Modelica.Blocks.Types.SimpleController | controllerType | Modelica.Blocks.Types.SimpleController.PID | Type of controller |
| Boolean | useKIn | false | Use input for controller gain |
| Real | k | 1 | Gain of controller |
| Modelica.Units.SI.Time | Ti | 0.5 | Time constant of Integrator block |
| Modelica.Units.SI.Time | Td | 0.1 | Time constant of Derivative block |
| Real | yMax | 1 | Upper limit of output |
| Real | yMin | 0 | Lower limit of output |
| Real | wp | 1 | Set-point weight for Proportional block (0..1) |
| Real | wd | 0 | Set-point weight for Derivative block (0..1) |
| Real | Ni | 0.9 | Ni*Ti is time constant of anti-windup compensation |
| Real | Nd | 10 | The higher Nd, the more ideal the derivative block |
| Initialization |
| Modelica.Blocks.Types.Init | initType | Modelica.Blocks.Types.Init.InitialState | Type of initialization (1: no init, 2: steady state, 3: initial state, 4: initial output) |
| Real | xi_start | 0 | Initial or guess value value for integrator output (= integrator state) |
| Real | xd_start | 0 | Initial or guess value for state of derivative block |
| Real | y_start | 0 | Initial value of output |
| Advanced |
| Boolean | strict | true | = true, if strict limits with noEvent(..) |
| Integrator reset |
| IDEAS.Types.Reset | reset | IDEAS.Types.Reset.Disabled | Type of controller output reset |
| Real | y_reset | xi_start | Value to which the controller output is reset if the boolean trigger has a rising edge, used if reset == IDEAS.Types.Reset.Parameter |
Components
| Type | Name | Default | Description |
| IDEAS.Controls.Continuous.LimPID | conPID | | |
| Modelica.Blocks.Interfaces.BooleanInput | revActIn | | Reverse action |
| Modelica.Blocks.Math.Product | revActS | | |
| Modelica.Blocks.MathBoolean.RisingEdge | risingEdge | | Reset integrator when re-enabling PID |
| Modelica.Blocks.Interfaces.BooleanInput | on | | On/off signal of PID |
| Modelica.Blocks.Math.Product | revActM | | |
| Modelica.Blocks.Logical.Switch | switch2 | | |
| Modelica.Blocks.Sources.Constant | const | | |
| Modelica.Blocks.Interfaces.RealInput | kIn | | Connector for k |
| Modelica.Blocks.Sources.RealExpression | realExpression | | |
Revisions
-
January 26, 2018, by Filip Jorissen:
Fixed bug in reverse action implementation.
See #730.