functiontemporalSuperposition
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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | i | Number of aggregation cells | |
| Integer | nSeg | Number of segments | |
| Modelica.Units.SI.HeatFlowRate[nSeg,i] | QAgg_flow | Array of aggregated loads | |
| Modelica.Units.SI.ThermalResistance[nSeg,nSeg,i] | kappa | Weighting factors for each aggregation cell | |
| Integer | curCel | Current occupied aggregation cell |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.TemperatureDifference[nSeg] | deltaTb | Delta T at wall |
Revisions
-
February 2024, by Massimo Cimmino
First implementation.