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
| Type | Name | Default | Description |
|---|---|---|---|
| String | fileName | Path to file with performance data | |
| Modelica.Units.SI.DimensionlessRatio[:] | PLRSup | PLR values at which heat flow rate and power data are provided | |
| Modelica.Units.SI.DimensionlessRatio | PLRCyc_min | min(PLRSup) | Minimum PLR before cycling last compressor off |
| Modelica.Units.SI.MassFlowRate | mCon_flow_nominal | Nominal mass flow rate in condenser | |
| Modelica.Units.SI.MassFlowRate | mEva_flow_nominal | Nominal mass flow rate in evaporator | |
| Modelica.Units.SI.PressureDifference | dpCon_nominal | Nominal pressure drop in condenser | |
| Modelica.Units.SI.PressureDifference | dpEva_nominal | Nominal pressure drop in evaporator | |
| String | devIde | Name of the device | |
| Boolean | use_TEvaOutForTab | =true to use evaporator outlet temperature for table data, false for inlet | |
| Boolean | use_TConOutForTab | =true to use condenser outlet temperature for table data, false for inlet | |
| Real[:] | PLRSor | Modelica.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.