modelPID_Controller
Controller subsystem implemented using a PID controller
Extends from Interfaces.Controller (Interface for controller subsystem).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | k | Gain of controller | |
| Modelica.SIunits.Time | Ti | Time constant of Integrator block | |
| Modelica.SIunits.Time | Td | Time constant of Derivative block | |
| Real | yMax | Upper limit of output |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | setpoint (from Controller) | Desired system response | |
| Modelica.Blocks.Interfaces.RealInput | measured (from Controller) | Actual system response | |
| Modelica.Blocks.Interfaces.RealOutput | command (from Controller) | Command to send to actuator |