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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | lvlBas | Base for growth between each level, e.g. 2 | |
| Integer | nCel | Number of cells of same size per level | |
| Modelica.Units.SI.Time | timFin | Total simulation max length | |
| Modelica.Units.SI.Time | tLoaAgg | Time resolution of load aggregation |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | i | Size of aggregation vectors |
Revisions
-
July 15, 2018, by Michael Wetter:
Addedmin=1tonCelso that a tool can infer that this quantity is non-zero. -
March 5, 2018, by Alex Laferrière:
First implementation.