modelPITemp
PI controller that can switch the output range of the controller
Information
Overview
Based on a model by Alexander Hoh with some modifications and the Modelica-Standard PI controller. If set to "on" it will controll the thermal port temperature to the target value (soll). If set to "off" the controller error will become zero and therefore the current output level of the PI controller will remain constant. When this switching occurs the TriggeredTrapezoid will level the current controller output down to zero in a selectable period of time.
-
April, 2016 by Peter Remmen:
Moved from Utilities to Controls
-
October 7, 2013 by Ole Odendahl:
Formatted documentation appropriately - by Peter Matthes:
implemented
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | rangeSwitch | false | Switch controller output range |
| Control | |||
| Real | h | 1 | upper limit controller output |
| Real | l | 0 | lower limit of controller output |
| Real | KR | 1 | Gain |
| Modelica.Units.SI.Time | TN | 1 | Time Constant (T>0 required) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | setPoint | ||
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort | ||
| Modelica.Blocks.Interfaces.RealOutput | y | ||
| Modelica.Blocks.Interfaces.BooleanInput | onOff | Switches Controler on and off | |
| Modelica.Blocks.Logical.Switch | switch2 | ||
| Modelica.Blocks.Logical.TriggeredTrapezoid | triggeredTrapezoid | ||
| Modelica.Blocks.Math.Product | product | ||
| Modelica.Blocks.Continuous.LimPID | PI | ||
| Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensor | temperatureSensor | ||
| Modelica.Blocks.Logical.Switch | switch1 |