functiontemporalSuperposition

Performs temporal superposition for the load aggregation procedure

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

Information

Performs the temporal and spatial superposition operations to obtain the temperature change at the wall of a borehole segment at the current time step. The spatial superposition of one load aggregation cell is the matrix-vector product of the kappa[:,:,k] step response matrix (at a cell k) and the vector of aggregated loads of all borehole segments in cell k, QAgg_flow[:,k]. The temporal superposition is the sum of the contributions of all load aggregation cells. To avoid unnecessary calculations, the current aggregation cell in the simulation is used to truncate the values from the vectors that are not required.

This is a vectorized implementation of Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.temporalSuperposition.

Inputs

TypeNameDefaultDescription
IntegeriNumber of aggregation cells
IntegernSegNumber of segments
Modelica.Units.SI.HeatFlowRate[nSeg,i]QAgg_flowArray of aggregated loads
Modelica.Units.SI.ThermalResistance[nSeg,nSeg,i]kappaWeighting factors for each aggregation cell
IntegercurCelCurrent occupied aggregation cell

Outputs

TypeNameDefaultDescription
Modelica.Units.SI.TemperatureDifference[nSeg]deltaTbDelta T at wall

Revisions

  • February 2024, by Massimo Cimmino
    First implementation.