.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.aggregationCellTimes

Information

Simultaneously constructs both the nu vector, which is the aggregation time of each cell, and the rCel vector, which is the temporal size of each cell normalized with the time resolution of load aggregation tLoaAgg.

Interface

function aggregationCellTimes
  extends Modelica.Icons.Function;
  input Integer i "Size of time vector";
  input Real lvlBas "Base for growth between each level, e.g. 2";
  input Integer nCel "Number of cells of same size per level";
  input Modelica.SIunits.Time tLoaAgg(final min = Modelica.Constants.small) "Time resolution of load aggregation";
  input Modelica.SIunits.Time timFin "Total simulation max length";
  output Modelica.SIunits.Time nu[i] "Time vector nu of size i";
  output Real rCel[i](each unit = "1") "Cell width vector of size i";
end aggregationCellTimes;

Revisions


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