modelLookUpTableND

N-dimensional table with data for heat pump

Extends from AixLib.Obsolete.Year2024.DataBase.HeatPump.PerformanceData.BaseClasses.PartialPerformanceData (Model with a replaceable for different methods of data aggregation).

Information

Basic models showing the concept of using n-dimensional table data for the innerCycle of the heat pump model. This model assumes one provides data for inverter controlled heat pumps or chillers. However, this basis structure can be used to create own models, where electrical power and condenser depend on other inputs, such as ambient temperature.

  • November 26, 2018  by Fabian Wüllhorst:
    First implementation (see issue #577)

Parameters

TypeNameDefaultDescription
RealnConv100Gain value multiplied with relative compressor speed n to calculate matching value based on sdf tables
SDF.Types.InterpolationMethodinterpMethodSDF.Types.InterpolationMethod.LinearInterpolation method
SDF.Types.ExtrapolationMethodextrapMethodSDF.Types.ExtrapolationMethod.NoneExtrapolation method
Electrical Power
Stringfilename_Pel"modelica://Resources/Data/Fluid/BaseClasses/PerformanceData/LookUpTableND/VZH088AG.sdf"File name of sdf table data
Stringdataset_Pel"/Pel"Dataset name
StringdataUnit_Pel"W"Data unit
String[3]scaleUnits_Pel{"K", "K", ""}Scale units
Condenser heat flow
Stringfilename_QCon"modelica://Resources/Data/Fluid/BaseClasses/PerformanceData/LookUpTableND/VZH088AG.sdf"File name of sdf table data
Stringdataset_QCon"/QCon"Dataset name
StringdataUnit_QCon"W"Data unit
String[3]scaleUnits_QCon{"K", "K", ""}Scale units

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputPel (from PartialPerformanceData)Electrical Power consumed by HP
Modelica.Blocks.Interfaces.RealOutputQCon (from PartialPerformanceData)Heat flow rate through Condenser
AixLib.Obsolete.Year2024.Controls.Interfaces.VapourCompressionMachineControlBussigBus (from PartialPerformanceData)Bus-connector used in a heat pump
Modelica.Blocks.Interfaces.RealOutputQEva (from PartialPerformanceData)Heat flow rate through Evaporator

Components

TypeNameDefaultDescription
Modelica.Blocks.Math.AddcalcRedQCon (from PartialPerformanceData)Based on redcued heat flow to the evaporator, the heat flow to the condenser is also reduced
Modelica.Blocks.Math.ProductproRedQEva (from PartialPerformanceData)Based on the icing factor, the heat flow to the evaporator is reduced
Modelica.Blocks.Math.GainnConGainConvert relative speed n to an absolute value for interpolation in sdf tables
Modelica.Blocks.Math.UnitConversions.To_degCt_Ev_in
Modelica.Blocks.Math.UnitConversions.To_degCt_Co_ou
Utilities.Logical.SmoothSwitchswitchPelIf HP is off, no heat will be exchanged
Utilities.Logical.SmoothSwitchswitchQConIf HP is off, no heat will be exchanged
Modelica.Blocks.Sources.ConstantconstZeroPower if HP is turned off
SDF.NDTablenDTableQConSDF-Table data for condenser heat flow
SDF.NDTablenDTablePelSDF table data for electrical power
Modelica.Blocks.Routing.Multiplex3multiplex3_1Concat all inputs into an array
Modelica.Blocks.Math.ProductscalingFacTimesQCon
Modelica.Blocks.Math.ProductscalingFacTimesPel

Revisions

    • May 21, 2021ф by Fabian Wüllhorst:
      Make use of BaseClasses (see issue #1092)
    • November 26, 2018  by Fabian Wüllhorst:
      First implementation (see issue #577)