modelSystem1
Extends from Buildings.Examples.Tutorial.CDL.BaseClasses.PartialOpenLoop (Partial model with open loop system).
Information
This model extends from the open loop partial model Buildings.Examples.Tutorial.CDL.BaseClasses.PartialOpenLoop, which implements the HVAC system model and a simple room. In this partial model, the room is modeled as a first order response.
Implementation
To set control inputs, we instantiated Buildings.Controls.OBC.CDL.Reals.Sources.Constant and connected them to the pumps, the boiler and the valves.
Exercise
Create a model, such as this model, that extends from
Buildings.Examples.Tutorial.CDL.BaseClasses.PartialOpenLoop
and adds constant input signals for the valves, pumps and the boiler.
Valves should be fully open (y=1), the boiler should be operating (y=1)
and the mass flow rates of the pumps should be set to the parameter value of
mRad_flow_nominal and mBoi_flow_nominal.
Simulate the model for January 15 to 16 and plot the open loop temperatures as shown below, which corresponds to a start time of 15*24*3600=1296000 seconds and a stop time of 1382400 seconds.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.HeatFlowRate | Q_flow_nominal (from PartialOpenLoop) | 20000 | Nominal heat flow rate of radiator |
| Modelica.Units.SI.Temperature | TRadSup_nominal (from PartialOpenLoop) | 273.15 + 50 | Radiator nominal supply water temperature |
| Modelica.Units.SI.Temperature | TRadRet_nominal (from PartialOpenLoop) | 273.15 + 40 | Radiator nominal return water temperature |
| Modelica.Units.SI.MassFlowRate | mRad_flow_nominal (from PartialOpenLoop) | Q_flow_nominal/4200/(TRadSup_nominal - TRadRet_nominal) | Radiator nominal mass flow rate |
| Modelica.Units.SI.Temperature | TBoiSup_nominal (from PartialOpenLoop) | 273.15 + 70 | Boiler nominal supply water temperature |
| Modelica.Units.SI.Temperature | TBoiRet_min (from PartialOpenLoop) | 273.15 + 60 | Boiler minimum return water temperature |
| Modelica.Units.SI.MassFlowRate | mBoi_flow_nominal (from PartialOpenLoop) | Q_flow_nominal/4200/(TBoiSup_nominal - TBoiRet_min) | Boiler nominal mass flow rate |
| Modelica.Units.SI.MassFlowRate | mRadVal_flow_nominal (from PartialOpenLoop) | Q_flow_nominal/4200/(TBoiSup_nominal - TRadRet_nominal) | Radiator nominal mass flow rate |
| Modelica.Units.SI.Volume | V (from PartialOpenLoop) | 6*10*3 | Room volume |
| Modelica.Units.SI.MassFlowRate | mA_flow_nominal (from PartialOpenLoop) | V*1.2*6/3600 | Nominal mass flow rate |
| Modelica.Units.SI.HeatFlowRate | QRooInt_flow (from PartialOpenLoop) | 4000 | Internal heat gains of the room |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| BoundaryConditions.WeatherData.Bus | weaBus (from PartialOpenLoop) | Weather data bus |
Components
Revisions
-
February 18, 2020, by Michael Wetter:
First implementation.