Function to scale the performance data for the heat pump heat capacity and electrical power use.
The data record
Buildings.Fluid.HeatPumps.ModularReversible.Data.TableData2D.GenericHeatPump
contains performance data arrays tabPEle and
tabQCon_flow that list for different temperatures the
capacity. This function takes such arrays as input, and returns
these arrays after multiplying the capacity by the input argument
s.
function scalePerformanceTable extends Modelica.Icons.Function; input Real x[nR, nC] "Table with performance data"; input Integer nR "Number of rows in x"; input Integer nC "Number of columns in x"; input Real s(min = Modelica.Constants.eps) "Scaling factor"; output Real y[nR, nC] "Scaled table with performance data"; end scalePerformanceTable;