BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.aggregationWeightingFactors

# .BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.aggregationWeightingFactors

Calculates the kappa vector for load aggregation

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

#### Interface

>     function aggregationWeightingFactors
>       extends Modelica.Icons.Function;
>       input Integer i "Size of aggregation vector";
>       input Integer nTimTot "Size of g-function time table";
>       input Modelica.Units.SI.ThermalResistance TStep[nTimTot, 2] "Time matrix with TStep";
>       input Modelica.Units.SI.Time nu[i] "Aggregation time vector nu";
>       output Modelica.Units.SI.ThermalResistance kappa[i] "Weighting factors vector";
>     end aggregationWeightingFactors;

## Revisions

- March 5, 2018, by Alex Laferrière:
  First implementation.

Generated at 2026-05-09T18:18:56Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos