recordGeneric

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

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

Information

Overview

This is the base record class for heat pump models that use the block Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.TableData2DLoadDepSHC 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.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.DimensionlessRatio[:]PLRHeaSupPLR values at which heat flow rate and power data are provided - Heating mode
Modelica.Units.SI.DimensionlessRatio[:]PLRCooSupPLR values at which heat flow rate and power data are provided - Cooling mode
Modelica.Units.SI.DimensionlessRatio[:]PLRShcSupPLR values at which heat flow rate and power data are provided - SHC mode
StringfileNameHeaFile where performance data are stored - heating mode (single module)
StringfileNameCooFile where performance data are stored - cooling mode (single module)
StringfileNameShcFile where performance data are stored - SHC mode (single module)
Modelica.Units.SI.MassFlowRatemCon_flow_nominalNominal HW mass flow rate
Modelica.Units.SI.MassFlowRatemEva_flow_nominalNominal CHW mass flow rate
Modelica.Units.SI.PressureDifferencedpCon_nominalNominal pressure drop in condenser
Modelica.Units.SI.PressureDifferencedpEva_nominalNominal pressure drop in evaporator
StringdevIdeName of the device
Booleanuse_TEvaOutForTab=true to use CHW temperature at outlet for table data, false for inlet
Booleanuse_TConOutForTab=true to use HW temperature at outlet for table data, false for inlet
IntegernPLRHeasize(PLRHeaSup, 1)Number of PLR support points - Heating
IntegernPLRCoosize(PLRCooSup, 1)Number of PLR support points - Cooling
IntegernPLRShcsize(PLRShcSup, 1)Number of PLR support points - SHC
Real[nPLRHea]PLRHeaSorModelica.Math.Vectors.sort(PLRHeaSup)PLR values in increasing order - Heating
RealPLRHea_maxPLRHeaSor[nPLRHea]Maximum PLR
Real[nPLRCoo]PLRCooSorModelica.Math.Vectors.sort(PLRCooSup)PLR values in increasing order - Cooling
RealPLRCoo_maxPLRCooSor[nPLRCoo]Maximum PLR - Cooling mode
Real[nPLRShc]PLRShcSorModelica.Math.Vectors.sort(PLRShcSup)PLR values in increasing order - SHC
Advanced
String[nPLRHea]tabNamQHea{"q@" + String(p, format = ".2f") for p in PLRHeaSor}Table names with heat flow rate data - Heating mode
String[nPLRHea]tabNamPHea{"p@" + String(p, format = ".2f") for p in PLRHeaSor}Table names with power data - Heating mode
String[nPLRCoo]tabNamQCoo{"q@" + String(p, format = ".2f") for p in PLRCooSor}Table names with heat flow rate data - Cooling mode
String[nPLRCoo]tabNamPCoo{"p@" + String(p, format = ".2f") for p in PLRCooSor}Table names with power data - Cooling mode
String[nPLRShc]tabNamQShc{"q@" + String(p, format = ".2f") for p in PLRShcSor}Table names with cooling heat flow rate data - SHC mode
String[nPLRShc]tabNamPShc{"p@" + String(p, format = ".2f") for p in PLRShcSor}Table names with power data - SHC mode

Revisions

  • November 17, 2025, by Michael Wetter:
    Corrected typo in annotation.
    This is for Buildings, #4406.
  • March 21, 2025, by Antoine Gautier:
    First implementation.