modelPIDHysteresisTimer

Example model for PID controller with hysteresis and timer
Diagram of PIDHysteresisTimer

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 IBPSA.Obsolete.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
IBPSA.Obsolete.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

  • September 21, 2021, by Michael Wetter:
    Moved model to IBPSA.Obsolete package.
    This is for IBPSA, issue 1522.
  • November 21, 2011, by Michael Wetter:
    Added documentation.