functiontemporalSuperposition

Performs temporal superposition for the load aggregation procedure

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

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.

Inputs

TypeNameDefaultDescription
IntegeriNumber of aggregation cells
Modelica.Units.SI.HeatFlowRate[i]QAgg_flowVector of aggregated loads
Modelica.Units.SI.ThermalResistance[i]kappaWeighting factors for each aggregation cell
IntegercurCelCurrent occupied aggregation cell

Outputs

TypeNameDefaultDescription
Modelica.Units.SI.TemperatureDifferencedeltaTbDelta T at wall

Revisions

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