modelHeatPump

Base model of FastHVAC Heat Pump

Extends from AixLib.Obsolete.BaseClasses.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Information

Overview

HeatPump model adapted to FastHAVC library.
This model is based on the Fluid model AixLib.Obsolete.Year2024.Fluid.HeatPumps.HeatPump created by Fabian Wüllhorst in 2018.

Parameters

TypeNameDefaultDescription
Booleanuse_revHPtrueTrue if the HP is reversible
Booleanuse_autoCalcfalseEnable automatic estimation of volumes and mass flows?
Modelica.Units.SI.PowerQ_useNominalNominal usable heat flow of the vapour compression machine (HP: Heating; Chiller: Cooling)
RealscalingFactor1Scaling-factor of HP
Modelica.Units.SI.Massm_fluidConVCon_final*con.medium.rhoMass of working fluid
Modelica.Units.SI.Massm_fluidEvaVEva_final*eva.medium.rhoMass of working fluid
Condenser
AixLib.Obsolete.YearIndependent.FastHVAC.Media.BaseClasses.MediumSimpleMedium_conAixLib.Obsolete.YearIndependent.FastHVAC.Media.WaterSimple()Medium at sink side
Evaporator
AixLib.Obsolete.YearIndependent.FastHVAC.Media.BaseClasses.MediumSimpleMedium_evaAixLib.Obsolete.YearIndependent.FastHVAC.Media.WaterSimple()Medium at source side
Refrigerant inertia
Booleanuse_refInetrueConsider the inertia of the refrigerant cycle
Modelica.Units.SI.FrequencyrefIneFre_constantCut off frequency for inertia of refrigerant cycle
IntegernthOrder3Order of refrigerant cycle interia
Input Connectors
BooleanuseBusConnectorOnlyfalseSet true to use bus connector for modeSet, nSet and iceFac input
Condenser › Parameters
Modelica.Units.SI.MassFlowRatemFlow_conNominalNominal mass flow rate
Modelica.Units.SI.VolumeVConVolume in condenser
Condenser › Flow resistance
RealdeltaM_con0.1Fraction of nominal mass flow rate where transition to turbulent occurs
Condenser › Heat Losses
Booleanuse_ConCaptrueIf heat losses at capacitor side are considered or not
Modelica.Units.SI.HeatCapacityCConHeat capacity of Condenser (= cp*m)
Modelica.Units.SI.ThermalConductanceGConConstant thermal conductance of condenser material
Modelica.Units.SI.ThermalConductanceGConIns0Constant thermal conductance of condenser material
Evaporator › Parameters
Modelica.Units.SI.MassFlowRatemFlow_evaNominalNominal mass flow rate
Modelica.Units.SI.VolumeVEvaVolume in evaporator
Evaporator › Flow resistance
RealdeltaM_eva0.1Fraction of nominal mass flow rate where transition to turbulent occurs
Evaporator › Heat Losses
Booleanuse_EvaCaptrueIf heat losses at capacitor side are considered or not
Modelica.Units.SI.HeatCapacityCEvaHeat capacity of Evaporator (= cp*m)
Modelica.Units.SI.ThermalConductanceGEvaConstant thermal conductance of Evaporator material
Modelica.Units.SI.ThermalConductanceGEvaIns0Constant thermal conductance of Evaporator material
Assumptions › Evaporator
BooleanallowFlowReversalEvatrue= false to simplify equations, assuming, but not enforcing, no flow reversal
Modelica.Units.SI.TemperatureTAmbEva_nominal273.15Fixed ambient temperature for heat transfer of sensors at the evaporator side
Assumptions › Condenser
BooleanallowFlowReversalContrue= false to simplify equations, assuming, but not enforcing, no flow reversal
Modelica.Units.SI.TemperatureTAmbCon_nominal291.15Fixed ambient temperature for heat transfer of sensors at the condenser side
Assumptions › Temperature sensors
BooleantransferHeattrueIf true, temperature T converges towards TAmb when no flow
Modelica.Units.SI.TimetauHeaTra1200Time constant for heat transfer in temperature sensors, default 20 minutes
Initialization › Parameters
Modelica.Blocks.Types.InitinitTypeModelica.Blocks.Types.Init.InitialStateType of initialization (InitialState and InitialOutput are identical)
Initialization › Condenser
Modelica.Media.Interfaces.Types.TemperatureTCon_start30 + 273.15Start value of temperature
Initialization › Evaporator
Modelica.Media.Interfaces.Types.TemperatureTEva_start10 + 273.15Start value of temperature
Initialization › Refrigerant inertia
RealyRefIne_start0Initial or guess value of output (= state)
Advanced › Flow resistance
BooleanhomotopyInitializationfalse= true, use homotopy method

Connectors

TypeNameDefaultDescription
Interfaces.EnthalpyPort_aenthalpyPort_aFluid connector a1 (positive design flow direction is from port_a1 to port_b1)
Interfaces.EnthalpyPort_benthalpyPort_bFluid connector b1 (positive design flow direction is from port_a1 to port_b1)
Interfaces.EnthalpyPort_aenthalpyPort_a1Fluid connector a2 (positive design flow direction is from port_a2 to port_b2)
Interfaces.EnthalpyPort_benthalpyPort_b1Fluid connector b2 (positive design flow direction is from port_a2 to port_b2)
Modelica.Blocks.Interfaces.RealInputiceFac_inInput signal for icing factor
Modelica.Blocks.Interfaces.RealInputnSetInput signal speed for compressor relative between 0 and 1
Year2024.Controls.Interfaces.VapourCompressionMachineControlBussigBusHP
Modelica.Blocks.Interfaces.RealInputT_amb_evaAmbient temperature on the evaporator side
Modelica.Blocks.Interfaces.RealInputT_amb_conAmbient temperature on the condenser side
Modelica.Blocks.Interfaces.BooleanInputmodeSetSet value of HP mode

Components

TypeNameDefaultDescription
BaseClasses.EvaporatorCondenserWithCapacityconHeat exchanger model for the condenser
BaseClasses.EvaporatorCondenserWithCapacityevaHeat exchanger model for the evaporator
Modelica.Blocks.Continuous.CriticalDampingheatFlowIneEvaThis n-th order block represents the inertia of the refrigerant cycle and delays the heat flow
Modelica.Blocks.Routing.RealPassThroughrealPassThroughnSetConUse default nSet value
Modelica.Blocks.Continuous.CriticalDampingheatFlowIneConThis n-th order block represents the inertia of the refrigerant cycle and delays the heat flow
Modelica.Blocks.Routing.RealPassThroughrealPassThroughnSetEvaUse default nSet value
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperaturevarTempOutEvaForces heat losses according to ambient temperature
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperaturevarTempOutConForces heat losses according to ambient temperature
AixLib.Obsolete.Year2024.Fluid.HeatPumps.BaseClasses.InnerCycle_HeatPumpinnerCycle
Sensors.TemperatureSensorsenT_a2Temperature at sink inlet
Sensors.TemperatureSensorsenT_b2Temperature at sink outlet
Sensors.MassFlowSensormFlow_evaMass flow sensor at the evaporator
Sensors.TemperatureSensorsenT_b1Temperature at sink outlet
Sensors.TemperatureSensorsenT_a1Temperature at sink inlet
Sensors.MassFlowSensormFlow_conMass flow sensor at the evaporator

Contents

NameDescription
PerDataHeaPerformance data of HP in heating mode
PerDataChiPerformance data of HP in chilling mode

Revisions

  • May 22, 2019 by Julian Matthes:
    Rebuild due to the introducion of the thermal machine partial model (see issue #715)
  • January 22, 2019  Niklas Hülsenbeck:
    Moved into AixLib