modelPartialTableDataSDF

Partial model with components for table data using ND SDF tables for heat pumps and chillers

Information

Partial model for equations and componenents used in both heat pump and chiller models using SDF based data.

Parameters

TypeNameDefaultDescription
IntegernDimNumber of input dimensions
RealscaFacScaling factor
Data handling
SDF.Types.InterpolationMethodinterpMethodSDF.Types.InterpolationMethod.LinearInterpolation method
SDF.Types.ExtrapolationMethodextrapMethodSDF.Types.ExtrapolationMethod.HoldExtrapolation method
Extra states
BooleanuseExtStafalse=true to output extra states stored in sdf file
IntegernExtSta1
String[nExtSta]datasetExt{"p_1"}Dataset names for extra states
String[nExtSta]dataUnitExt{"Pa"}Data unit for extra states

Components

TypeNameDefaultDescription
Modelica.Blocks.Math.ProductscaFacTimPelScale electrical power consumption
Modelica.Blocks.Math.ProductscaFacTimQUse_flowScale useful heat flow rate
Modelica.Blocks.Sources.ConstantconstScaFacCalculates correction of table output based on scaling factor
Modelica.Blocks.Routing.RealPassThroughreaPasThrTEvaInUsed to enable conditional bus connection
Modelica.Blocks.Routing.RealPassThroughreaPasThrTConInUsed to enable conditional bus connection
Modelica.Blocks.Routing.RealPassThroughreaPasThrTEvaOutUsed to enable conditional bus connection
Modelica.Blocks.Routing.RealPassThroughreaPasThrTConOutUsed to enable conditional bus connection
Modelica.Blocks.Math.Gain[nDim]facGainConvert relative speed n to an absolute value for interpolation in sdf tables
SDF.NDTablenDTabQUse_flowSDF-Table data for condenser heat flow
SDF.NDTablenDTabPEleSDF table data for electrical power
Modelica.Blocks.Routing.MultiplexmuxConcat all inputs into an array
RearrangeInputsordInpPossibly change Input order
Modelica.Blocks.Math.ProductonOffTimScaFacCreate the product of the scaling factor and whether the device is even on
Modelica.Blocks.Math.BooleanToRealbooToReaConvert on/off signal to real
SDF.NDTable[nExtSta]nDTabStaSDF-Table data for extra states

Contents

NameDescription
evaluateprotected

Revisions

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