modelProportionalController
Implementation of a proportional controller
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | k | 20 | Controller gain |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | setpoint | Desired system response | |
| Modelica.Blocks.Interfaces.RealInput | measured | Actual system response | |
| Modelica.Blocks.Interfaces.RealOutput | command | Command to send to actuator |