modelEvaporatorCondenserWithCapacity

Evaporaotr or condenser model with added capacity for heat losses to the ambient

Extends from AixLib.Fluid.Interfaces.TwoPortHeatMassExchanger.

Information

Model for an evaporator or condenser with the use of a capacity to simulate heat losses.

Used in AixLib.Fluid.HeatPumps.ModularReversible.Modular and AixLib.Fluid.Chillers.ModularReversible.Modular, the heat flow to or from the volume is calculated in a black-box. Thus the heat is directly added to the medium.

Transient heat losses are modelled by adding a capacity and two convection components to AixLib.Fluid.Interfaces.TwoPortHeatMassExchanger. One of the convection component is between the capacity and the volume (with thermal conductance GInn) and the other between the capacity and the ambient heat port (with GOut).

Implementation

Both GInn and GOut are constants but declared without a parameter keyword so that the calculation can follow a temperature or flow-rate based approach.

Parameters

TypeNameDefaultDescription
BooleanisCon=true for condenser, false for evaporator
Heat losses
Booleanuse_captrueFalse if capacity and heat losses are neglected
Modelica.Units.SI.HeatCapacityCCapacity of heat exchanger, set to zero to ignore its dry mass
Initialization › Capacity
Modelica.Units.SI.TemperatureTCap_startMedium.T_defaultInitial temperature of heat capacity

Components

TypeNameDefaultDescription
Modelica.Units.SI.ThermalConductanceGOutExterior heat transfer coefficient, set to zero to ignore external heat loss but keep the dry mass
Modelica.Blocks.Interfaces.RealOutputGInnInterior heat transfer coefficient
Modelica.Thermal.HeatTransfer.Components.ConvectionconInsConvection between the wall and the working fluid
Modelica.Thermal.HeatTransfer.Components.ConvectionconOutConvection and conduction between the wall and ambient air
Modelica.Thermal.HeatTransfer.Components.HeatCapacitorheaCapHeat Capacity
Modelica.Blocks.Sources.RealExpressionheaLosIntNominal heat loss coefficient to the interior
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aport_outTemperature and heat flow to the ambient
Modelica.Blocks.Sources.RealExpressionheaLosExtNominal heat loss coefficient to the exterior
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowpreHeaHeat flow rate of the condenser
Modelica.Blocks.Interfaces.RealInputQ_flowHeat flow rate from the refrigerant to the medium
Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensorsenTTemperature sensor for the condenser volume
Modelica.Blocks.Interfaces.RealOutputTTemperature of the condenser volume

Revisions

  • November 26, 2018, by Fabian Wuellhorst:
    First implementation (see issue AixLib #577)