modelSystem6
Extends from Buildings.Examples.Tutorial.CDL.BaseClasses.PartialOpenLoop.
Information
In this step, we added the last controller, which is controlling the mixing valve for the radiator supply water temperature.
Implementation
This model was built as follows:
-
First, we copied the controller Buildings.Examples.Tutorial.CDL.Controls.OpenLoopRadiatorSupply to create the block Buildings.Examples.Tutorial.CDL.Controls.RadiatorSupply.
-
In this new block, we used Buildings.Controls.OBC.CDL.Reals.Line to compute the set point for the supply water temperature based on the room air temperature. This set point is then used in a PI controller Buildings.Controls.OBC.CDL.Reals.PID to modulate the mixing valve position in order to track the supply water temperature set point.
-
To allow configuring the temperatures and the control gains, we exposed the main parameters of the controller, see Buildings.Examples.Tutorial.CDL.Controls.RadiatorSupply.
-
We also implemented the open loop validation Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply to ensure that the controller is implemented correctly.
Exercise
Create a model, such as this model. To do so,
-
Implement the controller for the radiator supply water temperature control.
Make a small unit test to verify that the controller is implemented correctly.
-
Use this new controller instead of the open loop controller
conRadSup.
Simulate the system to verify that the mixing valve conRadSup is modulated and
the room air temperature temRoo.T is well tracked.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Controls.BoilerReturn | conBoiRet | Controller for boiler return water temperature | |
| Controls.SystemOnOff | conSysSta | Controller that switches the system on and off | |
| Controls.RadiatorSupply | conRadSup | Controller for the mixing valve for the radiator supply water | |
| Controls.EquipmentOnOff | conEquSta | Controller that switches the equipment on and off | |
| Buildings.Controls.OBC.CDL.Conversions.BooleanToReal | radPumCon | Type conversion for radiator pump signal | |
| Buildings.Controls.OBC.CDL.Conversions.BooleanToReal | boiPumCon | Type conversion for boiler pump signal | |
| Buildings.Controls.OBC.CDL.Conversions.BooleanToReal | boiSigCon | Type conversion for boiler signal |
Revisions
-
February 18, 2020, by Michael Wetter:
First implementation.