functioncountAggregationCells

Function which returns the number of aggregation cells in the aggregation vector

Extends from Modelica.Icons.Function (Icon for functions).

Information

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.

Inputs

TypeNameDefaultDescription
ReallvlBasBase for growth between each level, e.g. 2
IntegernCelNumber of cells of same size per level
Modelica.Units.SI.TimetimFinTotal simulation max length
Modelica.Units.SI.TimetLoaAggTime resolution of load aggregation

Outputs

TypeNameDefaultDescription
IntegeriSize of aggregation vectors

Revisions

  • July 15, 2018, by Michael Wetter:
    Added min=1 to nCel so that a tool can infer that this quantity is non-zero.
  • March 5, 2018, by Alex Laferrière:
    First implementation.