modelPartialHeatPumpTableDataND

Partial model with components for TableDataND approach for heat pumps

Extends from AixLib.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.PartialHeatPumpCycle (Partial model to allow selection of only heat pump options), AixLib.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.PartialTableDataSDF (Partial model with components for table data using ND SDF tables for heat pumps and chillers).

Information

This model uses three-dimensional table data possibly given by manufacturers or estimated using other tools, such as VCLibPy, to calculate QCon_flow and PEle.

Note that losses are often implicitly included in measured data. In this case, the frosting modules should be disabled.

Scaling factor

For the scaling factor, the table data for condenser heat flow rate (QConTabDat_flow) is evaluated at nominal conditions. Hence, the scaling factor is

scaFac = QCon_flow_nominal/QConTabDat_flow(TCon_nominal, TEva_nominal, y_nominal).

Using scaFac, the table data is scaled linearly. This implies a constant COP over different design sizes:

QCon_flow = scaFac * tabQCon_flow.y

PEle = scaFac * tabPel.y

Parameters

TypeNameDefaultDescription
StringdevIde (from PartialRefrigerantCycle)""Indicates the data source, used to warn users about different vapor compression devices in reversible models
BooleanuseInHeaPum (from PartialHeatPumpCycle)=false to indicate that this model is used in a chiller
IntegernDim (from PartialTableDataSDF)Number of input dimensions
RealscaFac (from PartialTableDataSDF)Scaling factor
AixLib.Fluid.HeatPumps.ModularReversible.Data.TableDataSDF.GenericHeatPumpdatTab
Nominal condition
Modelica.Units.SI.PowerPEle_nominal (from PartialRefrigerantCycle)Nominal electrical power consumption
Modelica.Units.SI.TemperatureTCon_nominal (from PartialRefrigerantCycle)Nominal temperature at secondary condenser side
Modelica.Units.SI.TemperatureTEva_nominal (from PartialRefrigerantCycle)Nominal temperature at secondary evaporator side
Modelica.Units.SI.HeatFlowRateQHea_flow_nominal (from PartialHeatPumpCycle)Nominal heating capacity
Modelica.Units.SI.HeatFlowRateQHeaNoSca_flow_nominalevaluate(extTabQUse_flow, uOrdSca_nominal, interpMethod, extrapMethod)Unscaled nominal heating capacity
Advanced › Medium properties
Modelica.Units.SI.SpecificHeatCapacitycpCon (from PartialRefrigerantCycle)Evaporator medium specific heat capacity
Modelica.Units.SI.SpecificHeatCapacitycpEva (from PartialRefrigerantCycle)Evaporator medium specific heat capacity
Data handling
SDF.Types.InterpolationMethodinterpMethod (from PartialTableDataSDF)SDF.Types.InterpolationMethod.LinearInterpolation method
SDF.Types.ExtrapolationMethodextrapMethod (from PartialTableDataSDF)SDF.Types.ExtrapolationMethod.HoldExtrapolation method
Extra states
BooleanuseExtSta (from PartialTableDataSDF)false=true to output extra states stored in sdf file
IntegernExtSta (from PartialTableDataSDF)1
String[nExtSta]datasetExt (from PartialTableDataSDF){"p_1"}Dataset names for extra states
String[nExtSta]dataUnitExt (from PartialTableDataSDF){"Pa"}Data unit for extra states

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputPEle (from PartialRefrigerantCycle)Electrical Power consumed by the device
Modelica.Blocks.Interfaces.RealOutputQCon_flow (from PartialRefrigerantCycle)Heat flow rate through condenser
AixLib.Fluid.HeatPumps.ModularReversible.BaseClasses.RefrigerantMachineControlBussigBus (from PartialRefrigerantCycle)Bus-connector
Modelica.Blocks.Interfaces.RealOutputQEva_flow (from PartialRefrigerantCycle)Heat flow rate through evaporator

Components

TypeNameDefaultDescription
AixLib.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.NoFrostingiceFacCal (from PartialRefrigerantCycle)
Modelica.Blocks.Math.AddredQCon (from PartialRefrigerantCycle)Reduce heat flow to the condenser based on the reduction to the evaporator
Modelica.Blocks.Math.ProductproRedQEva (from PartialRefrigerantCycle)Reduce heat flow to the evaporator based on the icing factor
Modelica.Blocks.Math.FeedbackfeeHeaFloEva (from PartialHeatPumpCycle)Calculates evaporator heat flow with total energy balance
Modelica.Blocks.Math.ProductscaFacTimPel (from PartialTableDataSDF)Scale electrical power consumption
Modelica.Blocks.Math.ProductscaFacTimQUse_flow (from PartialTableDataSDF)Scale useful heat flow rate
Modelica.Blocks.Sources.ConstantconstScaFac (from PartialTableDataSDF)Calculates correction of table output based on scaling factor
Modelica.Blocks.Routing.RealPassThroughreaPasThrTEvaIn (from PartialTableDataSDF)Used to enable conditional bus connection
Modelica.Blocks.Routing.RealPassThroughreaPasThrTConIn (from PartialTableDataSDF)Used to enable conditional bus connection
Modelica.Blocks.Routing.RealPassThroughreaPasThrTEvaOut (from PartialTableDataSDF)Used to enable conditional bus connection
Modelica.Blocks.Routing.RealPassThroughreaPasThrTConOut (from PartialTableDataSDF)Used to enable conditional bus connection
Modelica.Blocks.Math.Gain[nDim]facGain (from PartialTableDataSDF)Convert relative speed n to an absolute value for interpolation in sdf tables
SDF.NDTablenDTabQUse_flow (from PartialTableDataSDF)SDF-Table data for condenser heat flow
SDF.NDTablenDTabPEle (from PartialTableDataSDF)SDF table data for electrical power
Modelica.Blocks.Routing.Multiplexmux (from PartialTableDataSDF)Concat all inputs into an array
RearrangeInputsordInp (from PartialTableDataSDF)Possibly change Input order
Modelica.Blocks.Math.ProductonOffTimScaFac (from PartialTableDataSDF)Create the product of the scaling factor and whether the device is even on
Modelica.Blocks.Math.BooleanToRealbooToRea (from PartialTableDataSDF)Convert on/off signal to real
SDF.NDTable[nExtSta]nDTabSta (from PartialTableDataSDF)SDF-Table data for extra states

Revisions

  • August 27, 2024 by Fabian Wuellhorst:
    First implementation (see issue AixLib #1520)