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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | i | Size of aggregation vector | |
| Integer | nTimTot | Size of g-function time table | |
| Real[nTimTot,2] | TStep | Time matrix with TStep | |
| Modelica.Units.SI.Time[i] | nu | Aggregation time vector nu |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.ThermalResistance[i] | kappa | Weighting 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.