BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.temporalSuperposition

# .BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.temporalSuperposition

Performs temporal superposition for the load aggregation procedure

## Information

Performs the temporal superposition operation to obtain the temperature change at the borehole wall at the current time step, which is the scalar product of the aggregated load vector and the `kappa` step response vector. To avoid unnecessary calculations, the current aggregation cell in the simulation is used to truncate the values from the vectors that are not required.

#### Interface

>     function temporalSuperposition
>       extends Modelica.Icons.Function;
>       input Integer i "Number of aggregation cells";
>       input Modelica.Units.SI.HeatFlowRate QAgg_flow[i] "Vector of aggregated loads";
>       input Modelica.Units.SI.ThermalResistance kappa[i] "Weighting factors for each aggregation cell";
>       input Integer curCel "Current occupied aggregation cell";
>       output Modelica.Units.SI.TemperatureDifference deltaTb "Delta T at wall";
>     end temporalSuperposition;

## Revisions

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

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos