Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation
Information
This package contains validation models.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Package Content
| Name | Description |
|---|---|
| Validation model for the assertion of minimum runtime and off-time | |
| Validation model for SHC and single mode alternation |
Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.AssertMinimumRuntime
Validation model for the assertion of minimum runtime and off-time
Information
This model validates
Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.AssertMinimumRuntime
for the following configurations, each with a minimum runtime or off-time
dt_min=15 s.
-
Minimum runtime assertion enabled (
use_runTim=true): componentassRunTim. -
Minimum off-time assertion enabled (
use_runTim=false): componentassOffTim.
Modelica definition
Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ExtractStagingMatrix
Information
This model validates Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.StagingParameters and Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.ExtractStagingMatrix in a configuration with two reversible heat pumps and two polyvalent heat pumps.
The parameters staHea and staCoo independently
reconstruct, from the equipment count matrices computed by
StagingParameters, the per-mode staging matrices. At
initialization, these matrices are compared against the ones internally
computed by StagingParameters for every feasible combination of
heating and cooling stage, and against each other, which validates the
internal consistency of StagingParameters.
The heating stage index is cycled through every stage over the course of the
simulation, and is used to extract the cooling staging matrix and its
transpose at the current heating stage. At initialization, i.e., at heating
stage 0, the extracted matrices are compared against the
independently reconstructed reference staCoo, which validates
ExtractStagingMatrix for both the direct and the transposed
extraction.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nHp | 2 | Number of HP (excluding polyvalent HP) |
| Integer | nPhp | 2 | Number of polyvalent HP |
| Real | capHeaHp_nominal | 1E5 | Design heating capacity - Each heat pump (excluding polyvalent HP) |
| Real | capCooHp_nominal | (1 - 1/Buildings.Templates.D... | Design cooling capacity - Each heat pump (excluding polyvalent HP) |
| Real | capHeaPhp_nominal | 1.3E5 | Design heating capacity - Each polyvalent heat pump |
| Real | capCooPhp_nominal | (1 - 1/Buildings.Templates.D... | Design cooling capacity - Each polyvalent heat pump |
| Real | capHeaShcPhp_nominal | Buildings.Templates.Data.Def... | Design heating capacity in SHC mode - Each polyvalent heat pump |
| Real | capCooShcPhp_nominal | (1 - 1/Buildings.Templates.D... | Design cooling capacity in SHC mode - Each polyvalent heat pump |
| Real | capCooSta_nominal[nSta + 1, nSta + 1] | staPhp.nHpCoo*capCooHp_nomin... | Cooling capacity at each stage |
| Real | capHeaSta_nominal[nSta + 1, nSta + 1] | staPhp.nHpHea*capHeaHp_nomin... | Heating capacity at each stage |
| Real | staCoo[nSta + 1, nSta, nHp + 2*nPhp] | {cat(1, fill(staPhp.nHpCoo[i... | Cooling staging matrix – Varies with heating stage |
| Real | staHea[nSta + 1, nSta, nHp + 2*nPhp] | {cat(1, fill(staPhp.nHpHea[i... | Heating staging matrix – Varies with cooling stage |
Modelica definition
Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ModeAlternation
Validation model for SHC and single mode alternation
Information
This model validates
Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.ModeAlternation
in a configuration with two polyvalent heat pumps and a constant runtime
order idxSor={1, 2}.
The number of units staged in each mode and the corresponding enable commands of each unit are varied over time to exercise both types of stage transition anticipated by this block.
- Elementary single-mode staging, e.g., at t = 20 s and t = 40 s, unit 1 and then unit 2 are staged on in heating-only mode, and at t = 100 s, unit 1 is staged on in cooling-only mode.
- A mode switch between a single mode and SHC mode, e.g., at t = 60 s, unit 2 switches from heating-only to SHC mode, and at t = 120 s, unit 1 switches from cooling-only to SHC mode.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nPhp | 2 | Number of polyvalent units |