Buildings.Fluid.HeatPumps.ModularReversible.Data.TableData2DLoadDep

Package with load-dependent 2D table data recors

Information

This package contains parameter records for load-dependent data-based heat pump models.

Extends from Modelica.Icons.MaterialPropertiesPackage (Icon for package containing property classes).

Package Content

Name Description
Buildings.Fluid.HeatPumps.ModularReversible.Data.TableData2DLoadDep.Generic Generic Partial record to specify performance data for load-dependent data-based models
Buildings.Fluid.HeatPumps.ModularReversible.Data.TableData2DLoadDep.GenericHeatPump GenericHeatPump Record to specify performance data for load-dependent data-based HP models

Buildings.Fluid.HeatPumps.ModularReversible.Data.TableData2DLoadDep.Generic Buildings.Fluid.HeatPumps.ModularReversible.Data.TableData2DLoadDep.Generic

Partial record to specify performance data for load-dependent data-based models

Information

Overview

This is the base record class for heat pump and chiller models that use the block Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.TableData2DLoadDep to calculate the capacity and power.

This class provides the path to the external data file with the performance data (parameter fileName) as well as the PLR values at which capacity and power are specified (parameter PLRSup). The external data file must be formatted as specified in the documentation of the above block. Please also refer to this documentation for the definition of the parameter PLRCyc_min.

Extends from Modelica.Icons.Record (Icon for records).

Contents

TypeNameDefaultDescription
StringfileName Path to file with performance data
DimensionlessRatioPLRSup[:] PLR values at which heat flow rate and power data are provided [1]
DimensionlessRatioPLRCyc_minmin(PLRSup)Minimum PLR before cycling last compressor off [1]
MassFlowRatemCon_flow_nominal Nominal mass flow rate in condenser [kg/s]
MassFlowRatemEva_flow_nominal Nominal mass flow rate in evaporator [kg/s]
PressureDifferencedpCon_nominal Nominal pressure drop in condenser [Pa]
PressureDifferencedpEva_nominal Nominal pressure drop in evaporator [Pa]
StringdevIde Name of the device
Booleanuse_TEvaOutForTab =true to use evaporator outlet temperature for table data, false for inlet
Booleanuse_TConOutForTab =true to use condenser outlet temperature for table data, false for inlet
Advanced
StringtabNamQ[:]{"q@" + String(p, format=".2...Table names with heat flow rate data
StringtabNamP[:]{"p@" + String(p, format=".2...Table names with power data

Modelica definition

partial record Generic "Partial record to specify performance data for load-dependent data-based models" extends Modelica.Icons.Record; parameter String fileName "Path to file with performance data"; parameter Modelica.Units.SI.DimensionlessRatio PLRSup[:](each final min=0) "PLR values at which heat flow rate and power data are provided"; parameter Modelica.Units.SI.DimensionlessRatio PLRCyc_min(final max=min(PLRSup), final min=0)= min(PLRSup) "Minimum PLR before cycling last compressor off"; parameter Modelica.Units.SI.MassFlowRate mCon_flow_nominal "Nominal mass flow rate in condenser"; parameter Modelica.Units.SI.MassFlowRate mEva_flow_nominal "Nominal mass flow rate in evaporator"; parameter Modelica.Units.SI.PressureDifference dpCon_nominal(displayUnit="Pa") "Nominal pressure drop in condenser"; parameter Modelica.Units.SI.PressureDifference dpEva_nominal(displayUnit="Pa") "Nominal pressure drop in evaporator"; parameter String devIde "Name of the device"; parameter Boolean use_TEvaOutForTab "=true to use evaporator outlet temperature for table data, false for inlet"; parameter Boolean use_TConOutForTab "=true to use condenser outlet temperature for table data, false for inlet"; parameter String tabNamQ[:]={"q@" + String(p, format=".2f") for p in PLRSor} "Table names with heat flow rate data"; parameter String tabNamP[:]={"p@" + String(p, format=".2f") for p in PLRSor} "Table names with power data"; final parameter Real PLRSor[:]=Modelica.Math.Vectors.sort(PLRSup) "PLR values in increasing order"; end Generic;

Buildings.Fluid.HeatPumps.ModularReversible.Data.TableData2DLoadDep.GenericHeatPump Buildings.Fluid.HeatPumps.ModularReversible.Data.TableData2DLoadDep.GenericHeatPump

Record to specify performance data for load-dependent data-based HP models

Information

This is the base record class to specify the parameters of the model Buildings.Fluid.HeatPumps.ModularReversible.TableData2DLoadDep.

In addition to the parameters defined in Buildings.Fluid.HeatPumps.ModularReversible.Data.TableData2DLoadDep.Generic table data for upper temperature limits is included. Please refer to the documentation of Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.BaseClasses.PartialOperationalEnvelope for guidance on how to populate this table.

Extends from Buildings.Fluid.HeatPumps.ModularReversible.Data.TableData2DLoadDep.Generic (Partial record to specify performance data for load-dependent data-based models).

Contents

TypeNameDefaultDescription
StringfileName Path to file with performance data
DimensionlessRatioPLRSup[:] PLR values at which heat flow rate and power data are provided [1]
DimensionlessRatioPLRCyc_minmin(PLRSup)Minimum PLR before cycling last compressor off [1]
MassFlowRatemCon_flow_nominal Nominal mass flow rate in condenser [kg/s]
MassFlowRatemEva_flow_nominal Nominal mass flow rate in evaporator [kg/s]
PressureDifferencedpCon_nominal Nominal pressure drop in condenser [Pa]
PressureDifferencedpEva_nominal Nominal pressure drop in evaporator [Pa]
StringdevIde Name of the device
Booleanuse_TEvaOutForTab =true to use evaporator outlet temperature for table data, false for inlet
Booleanuse_TConOutForTab =true to use condenser outlet temperature for table data, false for inlet
RealtabUppBou[:, 2] Points to define upper boundary of operating envelope
Booleanuse_TEvaOutForOpeEnvuse_TEvaOutForTab=true to use evaporator outlet temperature for operational envelope, false for inlet
Booleanuse_TConOutForOpeEnvuse_TConOutForTab=true to use condenser outlet temperature for operational envelope, false for inlet
Advanced
StringtabNamQ[:]{"q@" + String(p, format=".2...Table names with heat flow rate data
StringtabNamP[:]{"p@" + String(p, format=".2...Table names with power data

Modelica definition

record GenericHeatPump "Record to specify performance data for load-dependent data-based HP models" extends Buildings.Fluid.HeatPumps.ModularReversible.Data.TableData2DLoadDep.Generic; parameter Real tabUppBou[:, 2] "Points to define upper boundary of operating envelope"; parameter Boolean use_TEvaOutForOpeEnv=use_TEvaOutForTab "=true to use evaporator outlet temperature for operational envelope, false for inlet"; parameter Boolean use_TConOutForOpeEnv=use_TConOutForTab "=true to use condenser outlet temperature for operational envelope, false for inlet"; end GenericHeatPump;