Buildings.Templates.Plants.HeatPumps.Components.HeatPumpGroups
Models for heat pump groups
Information
This package contains models of heat pump groups.
Extends from Modelica.Icons.VariantsPackage (Icon for package containing variants).
Package Content
Name | Description |
---|---|
AirToWater | Air-to-water heat pump group |
Buildings.Templates.Plants.HeatPumps.Components.HeatPumpGroups.AirToWater
Air-to-water heat pump group
Information
This model represents a group of heat pumps.
Extends from Buildings.Templates.Plants.HeatPumps.Components.Interfaces.PartialHeatPumpGroup (Interface for heat pump group).
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package MediumHeaWat | Water | HW medium | |
replaceable package MediumSou | Water | Source-side medium | |
replaceable package MediumAir | Air | Air medium | |
HeatPumpGroup | dat | Design and operating parameters | |
Configuration | |||
Integer | nHp | Number of heat pumps | |
HeatPump | typ | Buildings.Templates.Componen... | Equipment type |
Boolean | is_rev | Set to true for reversible heat pumps, false for heating only | |
HeatPumpModel | typMod | Buildings.Templates.Componen... | Type of heat pump model |
Dynamics | |||
Conservation equations | |||
Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamic... | Type of energy balance: dynamic (3 initialization options) or steady state |
Assumptions | |||
Boolean | allowFlowReversal | true | Load side flow reversal: false to simplify equations, assuming, but not enforcing, no flow reversal |
Boolean | allowFlowReversalSou | true | Source side flow reversal: false to simplify equations, assuming, but not enforcing, no flow reversal |
Boolean | have_preDroChiHeaWat | true | Set to true for CHW/HW pressure drop computed by this model, false for external computation |
Boolean | have_preDroSou | true | Set to true for source fluid pressure drop computed by this model, false for external computation |
Advanced | |||
Diagnostics | |||
Boolean | show_T | false | = true, if actual temperature at port is computed |
Connectors
Type | Name | Description |
---|---|---|
replaceable package MediumSou | Source-side medium | |
FluidPorts_b | ports_bChiHeaWat[nHp] | CHW/HW supply |
FluidPorts_a | ports_aChiHeaWat[nHp] | CHW/HW return |
FluidPorts_b | ports_bSou[nHp] | Source fluid return (from heat pumps) |
FluidPorts_a | ports_aSou[nHp] | Source fluid supply (to heat pumps) |
Bus | bus | Plant control bus |
Bus | busWea | Weather bus |
Modelica definition
model AirToWater
"Air-to-water heat pump group"
extends Buildings.Templates.Plants.HeatPumps.Components.Interfaces.PartialHeatPumpGroup
(
redeclare final package MediumSou=MediumAir,
final typ=Buildings.Templates.Components.Types.HeatPump.AirToWater,
final typMod=Buildings.Templates.Components.Types.HeatPumpModel.EquationFit);
Buildings.Templates.Components.HeatPumps.AirToWater hp[nHp](
redeclare each final package MediumHeaWat=MediumHeaWat,
redeclare each final package MediumAir=MediumAir,
each final is_rev=is_rev,
final dat=datHp,
each final allowFlowReversal=allowFlowReversal,
each final energyDynamics=energyDynamics,
each final have_preDroChiHeaWat=have_preDroChiHeaWat,
each final have_preDroSou=have_preDroSou)
"Heat pump unit";
equation
for i in 1:nHp loop
connect(busWea, hp[i].busWea);
end for;
connect(ports_aChiHeaWat, hp.port_a);
connect(hp.port_b, ports_bChiHeaWat);
connect(busHp, hp.bus);
connect(ports_aSou, hp.port_aSou);
connect(ports_bSou, hp.port_bSou);
end AirToWater;