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 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.

Parameters

TypeNameDefaultDescription
StringfileNamePath to file with performance data
Modelica.Units.SI.DimensionlessRatio[:]PLRSupPLR values at which heat flow rate and power data are provided
Modelica.Units.SI.DimensionlessRatioPLRCyc_minmin(PLRSup)Minimum PLR before cycling last compressor off
Modelica.Units.SI.MassFlowRatemCon_flow_nominalNominal mass flow rate in condenser
Modelica.Units.SI.MassFlowRatemEva_flow_nominalNominal mass flow rate in evaporator
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 evaporator outlet temperature for table data, false for inlet
Booleanuse_TConOutForTab=true to use condenser outlet temperature for table data, false for inlet
Real[:]PLRSorModelica.Math.Vectors.sort(PLRSup)PLR values in increasing order
Advanced
String[:]tabNamQ{"q@" + String(p, format = ".2f") for p in PLRSor}Table names with heat flow rate data
String[:]tabNamP{"p@" + String(p, format = ".2f") for p in PLRSor}Table names with power data

Revisions

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