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

Information

Performs the shifting operation which propagates the thermal load history towards the more distant aggregation cells, and then sets the current cell's value at 0. Additionally, this function also outputs the last filled load aggregation cell.

Interface

function shiftAggregationCells
  extends Modelica.Icons.Function;
  input Integer i "Number of aggregation cells";
  input Modelica.Units.SI.HeatFlowRate QAgg_flow[i] "Vector of aggregated loads";
  input Real rCel[i](each min = Modelica.Constants.small) "Aggregation cell widths";
  input Modelica.Units.SI.Time nu[i] "Cell aggregation times";
  input Modelica.Units.SI.Time curTim "Current simulation time";
  output Integer curCel "Current occupied aggregation cell";
  output Modelica.Units.SI.HeatFlowRate QAggShi_flow[i] "Shifted vector of aggregated loads";
end shiftAggregationCells;

Revisions


Generated at 2024-11-26T19:26:15Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos