Buildings.Fluid.HeatPumps.ModularReversible.Validation
Collection of validation models
Information
This package contains validation models for the classes in Buildings.Fluid.HeatPumps.ModularReversible.
Note that most validation models contain simple input data which may not be realistic, but for which the correct output can be obtained through an analytic solution. The examples plot various outputs, which have been verified against these solutions. These model outputs are stored as reference data and used for continuous validation whenever models in the library change.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
| Name | Description |
|---|---|
| Package for comparative model validation | |
| Partial validation models |
Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness
Information
This validation case uses a constant Carnot effectiveness to model the efficiency of the heat pump.
The approach was calibrated as a comparison to table-based data in the conference paper for the heat pump model: https://doi.org/10.3384/ecp21181561
Extends from Modelica.Icons.Example (Icon for runnable examples), Buildings.Fluid.HeatPumps.ModularReversible.Validation.BaseClasses.PartialValidation (Validation base case for the reversible heat pump model.).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package MediumSin | Water | Medium of sink side | |
| replaceable package MediumSou | Water | Medium of source side | |
| Real | etaCarnot_nominal | 0.4318 | Calibrated constant Carnot effectiveness |
| Power | PEle_nominal | 1884.218212 | Calibrated nominal electrical power consumption [W] |
| MassFlowRate | mCon_flow_nominal | 0.407396 | Calibrated condenser nominal mass flow rate [kg/s] |
| Volume | VCon | 0.0015972 | Calibrated condenser volume [m3] |
| Frequency | refIneFreConst | 13.2e-3 | Calibrated cut off frequency for inertia of refrigerant cycle [Hz] |
Connectors
| Type | Name | Description |
|---|---|---|
| output RealOutput | TConOutMea | Measured condenser outlet [K] |
| output RealOutput | TEvaOutMea | Measured evaporator outlet [K] |
| output RealOutput | PEleMea | Measured electrical power consumption [W] |
| output RealOutput | PEleSim | Simulated electrical power consumption [W] |
| output RealOutput | TConOutSim | Simulated condenser outlet [K] |
| output RealOutput | TEvaOutSim | Simulated evaporator outlet [K] |
Modelica definition
Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D
Information
This validation case uses table-based data for the heat pump.
The approach was calibrated as a comparison to constant Carnot effectiveness approach in the conference paper for the heat pump model: https://doi.org/10.3384/ecp21181561
Extends from Modelica.Icons.Example (Icon for runnable examples), Buildings.Fluid.HeatPumps.ModularReversible.Validation.BaseClasses.PartialValidation (Validation base case for the reversible heat pump model.).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package MediumSin | Water | Medium of sink side | |
| replaceable package MediumSou | Water | Medium of source side | |
| MassFlowRate | mCon_flow_nominal | 0.404317 | Condenser nominal mass flow rate [kg/s] |
| Volume | VCon | 0.004473 | Condenser volume [m3] |
| Frequency | refIneFreConst | 0.011848 | Cut off frequency for inertia of refrigerant cycle [Hz] |
Connectors
| Type | Name | Description |
|---|---|---|
| output RealOutput | TConOutMea | Measured condenser outlet [K] |
| output RealOutput | TEvaOutMea | Measured evaporator outlet [K] |
| output RealOutput | PEleMea | Measured electrical power consumption [W] |
| output RealOutput | PEleSim | Simulated electrical power consumption [W] |
| output RealOutput | TConOutSim | Simulated condenser outlet [K] |
| output RealOutput | TEvaOutSim | Simulated evaporator outlet [K] |
Modelica definition
Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2DLoadDepSHC
Information
This model validates the hydronics and built-in control logic of Buildings.Fluid.HeatPumps.ModularReversible.TableData2DLoadDepSHC.
The model represents a three-module system where the HW and CHW isolation
valves are modeled using an equivalent actuator.
The actuator model represents the parallel network of the modules'
condenser or evaporator barrels in series with the HW or CHW isolation valves.
It is parameterized with the flow characteristics calculated
by the heat pump model, and controlled by the output variables provided
by this model.
The heat pump operating mode switches between simultaneous heating and cooling,
heating only, and cooling only.
The on/off command starts as true and is switched to
false at the end.
While the heat pump component is subjected to the design HW and CHW differential pressures and return temperatures, the supply temperature setpoints vary, creating a varying load. The validation then consists in verifying that the modules are effectively staged in various modes to adapt to the load. Additionally, it confirms that the isolation valve parameterization and controls result in HW and CHW flow rates that vary linearly with the number of enabled modules on each side.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package Medium | Buildings.Media.Water | HW or CHW medium | |
| Generic | dat | dat(PLRHeaSup={1}, PLRCooSup... | Performance data |
| Nominal condition | |||
| Temperature | THwSup_nominal | 323.15 | HW supply temperature [K] |
| Temperature | THwRet_nominal | 315.15 | HW return temperature [K] |
| Temperature | TChwSup_nominal | 280.15 | CHW supply temperature [K] |
| Temperature | TChwRet_nominal | 285.15 | CHW return temperature [K] |
| MassFlowRate | mHw_flow_nominal | QHea_flow_nominal/(THwSup_no... | HW mass flow rate [kg/s] |
| MassFlowRate | mChw_flow_nominal | QCoo_flow_nominal/(TChwSup_n... | CHW mass flow rate [kg/s] |
| Nominal condition - Heating mode | |||
| Temperature | TAmbHea_nominal | 268.15 | OA temperature [K] |
| HeatFlowRate | QHea_flow_nominal | 58E3 | Heating heat flow rate - Heating mode [W] |
| HeatFlowRate | QHeaShc_flow_nominal | 85E3 | Heating heat flow rate - SHC mode [W] |
| Nominal condition - Cooling mode | |||
| Temperature | TAmbCoo_nominal | 308.15 | Ambient side fluid temperature — Entering or leaving depending on use_TAmbOutForTab [K] |
| HeatFlowRate | QCoo_flow_nominal | -73E3 | Cooling heat flow rate - Cooling mode [W] |
| HeatFlowRate | QCooShc_flow_nominal | -65E3 | Cooling heat flow rate - SHC mode [W] |
| Dynamics | |||
| Conservation equations | |||
| Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamic... | Type of energy balance: dynamic (3 initialization options) or steady state |
Connectors
| Type | Name | Description |
|---|---|---|
| replaceable package Medium | HW or CHW medium | |
| Bus | weaBus | |