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 - Equation fit model | |
| Water-to-water heat pump - Equation fit model | |
| Package with validation models |
Buildings.Templates.Components.HeatPumps.AirToWater
Air-to-water heat pump - Equation fit model
Information
This is a model for an air-to-water heat pump where the capacity
and input power are computed based on the equation fit method.
The model can be configured to represent either a non-reversible heat pump
(is_rev=false) or a reversible heat pump (is_rev=true).
This model uses
Buildings.Fluid.HeatPumps.EquationFitReversible,
which the user may refer to for the modeling assumptions.
Control points
Refer to the documentation of the interface class Buildings.Templates.Components.Interfaces.PartialHeatPumpEquationFit for a description of the available control input and output variables.
Extends from Buildings.Templates.Components.Interfaces.PartialHeatPumpEquationFit (Interface for heat pump using equation fit model).
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_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 | |||
| 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 - Equation fit model
Information
This is a model for a water-to-water heat pump where the capacity
and input power are computed based on the equation fit method.
The model can be configured with the parameter is_rev
to represent either a non-reversible heat pump (heating only) or a
reversible heat pump.
This model uses
Buildings.Fluid.HeatPumps.EquationFitReversible,
which the user may refer to for the modeling assumptions.
Control points
Refer to the documentation of the interface class Buildings.Templates.Components.Interfaces.PartialHeatPumpEquationFit for a description of the available control input and output variables.
Extends from Buildings.Templates.Components.Interfaces.PartialHeatPumpEquationFit (Interface for heat pump using equation fit model).
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_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 | |||
| 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 |