.IBPSA.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.SIunits.HeatFlowRate QAgg_flow[i] "Vector of aggregated loads";
  input Real rCel[i](each min = Modelica.Constants.small) "Aggregation cell widths";
  input Modelica.SIunits.Time nu[i] "Cell aggregation times";
  input Modelica.SIunits.Time curTim "Current simulation time";
  output Integer curCel "Current occupied aggregation cell";
  output Modelica.SIunits.HeatFlowRate QAggShi_flow[i] "Shifted vector of aggregated loads";
end shiftAggregationCells;

Revisions


Generated at 2024-12-25T19:25:50Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos