functionaggregationWeightingFactors

Calculates the kappa vector for load aggregation

Extends from Modelica.Icons.Function (Icon for functions).

Information

This function uses spline interpolation to construct the weighting factors vector kappa using the aggregation times nu and the temperature step reponse (a time-series in the form of a matrix) of the borefield as an input.

Inputs

TypeNameDefaultDescription
IntegeriSize of aggregation vector
IntegernTimTotSize of g-function time table
Real[nTimTot,2]TStepTime matrix with TStep
Modelica.Units.SI.Time[i]nuAggregation time vector nu

Outputs

TypeNameDefaultDescription
Modelica.Units.SI.ThermalResistance[i]kappaWeighting factors vector

Revisions

  • March 20, 2026, by Michael Wetter:
    Corrected type declaration of g-function.
    This is for Buildings, #4501.
  • March 5, 2018, by Alex Laferrière:
    First implementation.