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
Buildings.Templates.Plants.HeatPumps.Components.HeatPumpGroups.AirToWater AirToWater Air-to-water heat pump group

Buildings.Templates.Plants.HeatPumps.Components.HeatPumpGroups.AirToWater Buildings.Templates.Plants.HeatPumps.Components.HeatPumpGroups.AirToWater

Air-to-water heat pump group

Buildings.Templates.Plants.HeatPumps.Components.HeatPumpGroups.AirToWater

Information

This model represents a group of heat pumps.

Extends from Buildings.Templates.Plants.HeatPumps.Components.Interfaces.PartialHeatPumpGroup (Interface for heat pump group).

Parameters

TypeNameDefaultDescription
replaceable package MediumHeaWatWaterHW medium
replaceable package MediumSouWaterSource-side medium
replaceable package MediumAirAirAir medium
HeatPumpGroupdat Design and operating parameters
Configuration
IntegernHp Number of heat pumps
HeatPumptypBuildings.Templates.Componen...Equipment type
Booleanis_rev Set to true for reversible heat pumps, false for heating only
HeatPumpModeltypModBuildings.Templates.Componen...Type of heat pump model
Dynamics
Conservation equations
DynamicsenergyDynamicsModelica.Fluid.Types.Dynamic...Type of energy balance: dynamic (3 initialization options) or steady state
Assumptions
BooleanallowFlowReversaltrueLoad side flow reversal: false to simplify equations, assuming, but not enforcing, no flow reversal
BooleanallowFlowReversalSoutrueSource side flow reversal: false to simplify equations, assuming, but not enforcing, no flow reversal
Booleanhave_preDroChiHeaWattrueSet to true for CHW/HW pressure drop computed by this model, false for external computation
Booleanhave_preDroSoutrueSet to true for source fluid pressure drop computed by this model, false for external computation
Advanced
Diagnostics
Booleanshow_Tfalse= true, if actual temperature at port is computed

Connectors

TypeNameDescription
replaceable package MediumSouSource-side medium
FluidPorts_bports_bChiHeaWat[nHp]CHW/HW supply
FluidPorts_aports_aChiHeaWat[nHp]CHW/HW return
FluidPorts_bports_bSou[nHp]Source fluid return (from heat pumps)
FluidPorts_aports_aSou[nHp]Source fluid supply (to heat pumps)
BusbusPlant control bus
BusbusWeaWeather 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;