Buildings.Templates.Components.HeatPumps
Heat pump models
Information
This package contains models for heat pumps.
Extends from Modelica.Icons.VariantsPackage (Icon for package containing variants).
Package Content
| Name | Description |
|---|---|
| Air-to-water heat pump | |
| Water-to-water heat pump |
Buildings.Templates.Components.HeatPumps.AirToWater
Air-to-water heat pump
Information
This is a model for an air-to-water heat pump where the capacity
and input power are computed by interpolating manufacturer data
along the condenser entering or leaving temperature, the
evaporator entering or leaving temperature and the part load ratio.
The model can be configured to represent either a non-reversible
(heating-only) heat pump (is_rev=false) or a
reversible heat pump (is_rev=true).
This model is a wrapper for Buildings.Fluid.HeatPumps.ModularReversible.TableData2DLoadDep, which the user may refer to for the modeling assumptions. Note that, by default, internal safeties in this model are disabled.
Control points
Refer to the documentation of the base class Buildings.Templates.Components.BaseClasses.PartialHeatPumpTableData2DLoadDep for a description of the available control input and output variables.
Extends from Buildings.Templates.Components.BaseClasses.PartialHeatPumpTableData2DLoadDep (Interface for heat pump using load-dependent 2D table data).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package MediumHeaWat | Water | HW medium | |
| replaceable package MediumSou | Water | Source-side medium | |
| replaceable package MediumAir | Air | Air medium | |
| HeatPump | dat | Design and operating parameters | |
| Configuration | |||
| HeatPump | typ | Buildings.Templates.Componen... | Equipment type |
| Boolean | is_rev | Set to true for reversible heat pumps, false for heating only | |
| Assumptions | |||
| Boolean | allowFlowReversal | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
| Boolean | allowFlowReversalSou | false | Source side flow reversal: false to simplify equations, assuming, but not enforcing, no flow reversal |
| Boolean | have_dpChiHeaWat | true | Set to true for CHW/HW pressure drop computed by this model, false for external computation |
| Boolean | have_dpSou | true | Set to true for source fluid pressure drop computed by this model, false for external computation |
| Advanced | |||
| MassFlowRate | m_flow_small | 1E-4*abs(m_flow_nominal) | Small mass flow rate for regularization of zero flow [kg/s] |
| Diagnostics | |||
| Boolean | show_T | false | = true, if actual temperature at port is computed |
| Dynamics | |||
| Conservation equations | |||
| Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamic... | Type of energy balance: dynamic (3 initialization options) or steady state |
Connectors
| Type | Name | Description |
|---|---|---|
| FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) |
| FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) |
| replaceable package MediumSou | Source-side medium | |
| FluidPort_a | port_aSou | Fluid connector a (positive design flow direction is from port_a to port_b) |
| FluidPort_b | port_bSou | Fluid connector b (positive design flow direction is from port_a to port_b) |
| Bus | bus | Control bus |
| Bus | busWea | Weather bus |
Modelica definition
Buildings.Templates.Components.HeatPumps.WaterToWater
Water-to-water heat pump
Information
This is a model for a water-to-water heat pump where the capacity
and input power are computed by interpolating manufacturer data
along the condenser entering or leaving temperature, the
evaporator entering or leaving temperature and the part load ratio.
The model can be configured to represent either a non-reversible
(heating-only) heat pump (is_rev=false) or a
reversible heat pump (is_rev=true).
This model is a wrapper for Buildings.Fluid.HeatPumps.ModularReversible.TableData2DLoadDep, which the user may refer to for the modeling assumptions. Note that, by default, internal safeties in this model are disabled.
Control points
Refer to the documentation of the base class Buildings.Templates.Components.BaseClasses.PartialHeatPumpTableData2DLoadDep for a description of the available control input and output variables.
Extends from Buildings.Templates.Components.BaseClasses.PartialHeatPumpTableData2DLoadDep (Interface for heat pump using load-dependent 2D table data).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package MediumHeaWat | Water | HW medium | |
| replaceable package MediumSou | Water | Source-side medium | |
| replaceable package MediumAir | Air | Air medium | |
| HeatPump | dat | Design and operating parameters | |
| Configuration | |||
| HeatPump | typ | Buildings.Templates.Componen... | Equipment type |
| Boolean | is_rev | Set to true for reversible heat pumps, false for heating only | |
| Assumptions | |||
| Boolean | allowFlowReversal | true | = 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_dpChiHeaWat | true | Set to true for CHW/HW pressure drop computed by this model, false for external computation |
| Boolean | have_dpSou | true | Set to true for source fluid pressure drop computed by this model, false for external computation |
| Advanced | |||
| MassFlowRate | m_flow_small | 1E-4*abs(m_flow_nominal) | Small mass flow rate for regularization of zero flow [kg/s] |
| Diagnostics | |||
| Boolean | show_T | false | = true, if actual temperature at port is computed |
| Dynamics | |||
| Conservation equations | |||
| Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamic... | Type of energy balance: dynamic (3 initialization options) or steady state |
Connectors
| Type | Name | Description |
|---|---|---|
| FluidPort_a | port_a | Fluid connector a (positive design flow direction is from port_a to port_b) |
| FluidPort_b | port_b | Fluid connector b (positive design flow direction is from port_a to port_b) |
| FluidPort_a | port_aSou | Fluid connector a (positive design flow direction is from port_a to port_b) |
| FluidPort_b | port_bSou | Fluid connector b (positive design flow direction is from port_a to port_b) |
| Bus | bus | Control bus |
| Bus | busWea | Weather bus |