modelAggregationCellTimes

This validation case shows the construction of the aggregation time and size vectors

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This validation case builds the aggregation vectors (rCel and nu) for a fictional case with 6 cells, built in 3 layers of 2 cells which double in size each level. The timFin input to the function called is lower than the aggregation time of the 6th cell, and the 6th cell must therefore be truncated from a size of 4 to a size of 2.

Parameters

TypeNameDefaultDescription
Integeri6Number of aggregation cells
Modelica.Units.SI.TimetLoaAgg10Time resolution of load aggregation
Modelica.Units.SI.TimenuTime vector for load aggregation
Modelica.Units.SI.TimerCelCell widths

Components

TypeNameDefaultDescription
Modelica.Units.SI.Timenu_error
Modelica.Units.SI.TimerCel_errorError on chosen values

Revisions

  • July 18, 2018, by Alex Laferrière:
    First implementation.