Function that counts the required length of the aggregation time
vector nu and of the weighting factor vectors
kappa based on the maximum time for calculations
related to the ground temperature response.
function countAggregationCells extends Modelica.Icons.Function; input Real lvlBas "Base for growth between each level, e.g. 2"; input Integer nCel(min = 1) "Number of cells of same size per level"; input Modelica.Units.SI.Time timFin "Total simulation max length"; input Modelica.Units.SI.Time tLoaAgg "Time resolution of load aggregation"; output Integer i(min = 1) "Size of aggregation vectors"; end countAggregationCells;
min=1 to nCel so that a tool can
infer that this quantity is non-zero.