modelPIDHysteresisTimer

Example model for PID controller with hysteresis and timer

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Example that demonstrates the use of the PID controller with hysteresis and off timer. The example is identical to Annex60.Controls.Continuous.Examples.PIDHysteresis, except that the controller also has an off timer. This timer keeps the control signal at y=0 for a period of minOffTime=1000 seconds. This may be used to avoid short-cycling if the load is small and the system has little heat capacity.

The figure below shows the control error con.feeBac.y and the control signal con.y.

Control error.
Control signal.

Components

TypeNameDefaultDescription
Annex60.Controls.Continuous.PIDHysteresisTimercon
Modelica.Blocks.Sources.ConstantTSetSet point
Modelica.Thermal.HeatTransfer.Components.HeatCapacitorcap
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperatureTBC
Modelica.Thermal.HeatTransfer.Components.ThermalConductortheCon
Modelica.Blocks.Math.Gaingain
Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensortemSen
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowQ_flow
Modelica.Blocks.Sources.Sinesine

Revisions

  • November 21, 2011, by Michael Wetter:
    Added documentation.