Buildings.Obsolete.Controls.Continuous.Examples
Collection of models that illustrate model use and test models
Information
This package contains examples for the use of models that can be found in Buildings.Obsolete.Controls.Continuous.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
Name | Description |
---|---|
PIDHysteresis | Example model for PID controller with hysteresis |
PIDHysteresisTimer | Example model for PID controller with hysteresis and timer |
Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis
Example model for PID controller with hysteresis
Information
Example that demonstrates the use of the PID controller
with hysteresis. The control objective is to keep
the temperature of the energy storage cap
at 40°C.
The controller con
is parameterized to
switch on if the control error is bigger than
eon=1.
The output of the controller remains above ymin=0.3 until the control
error is smaller than eoff=-1, at which
time the controller outputs y=0 until the
control error is again bigger than 1.
The figure below shows the control error
con.feeBac.y
and the control signal
con.y
.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Modelica definition
Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer
Example model for PID controller with hysteresis and timer
Information
Example that demonstrates the use of the PID controller
with hysteresis and off timer.
The example is identical to
Buildings.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
.
Extends from Modelica.Icons.Example (Icon for runnable examples).