- Procedure Aggregate(TimeslotData, PeriodData, TimeTable, Type[, Locus])
With the procedure
Aggregate you can aggregate time-dependent data
from a calendar time scale (time slots) to a horizon time scale
Aggregate( TimeslotData, ! (input) an indexed identifier over a calendar PeriodData, ! (output) an indexed identifier over a horizon TimeTable, ! (input) an AIMMS time table Type, ! (input) an element in the set AggregationTypes [Locus] ! (optional) a value between 0 and 1 )
An identifier (slice) containing the data to be aggregated. The domain sets in the index domain of this identifier should at least contain a calendar set, and all other sets should coincide with the domain of PeriodData.
An identifier (slice) that on return will contain the aggregated data. The domain sets in the index domain of this identifier should at least contain a horizon set, and all other sets should coincide with the domain of TimeslotData.
An indexed set in a calendar and defined over a horizon. This horizon and calendar should match with the index domains of TimeslotData and PeriodData.
An element of the pre-defined set
- Locus (only for
A number between 0 and 1, that indicates at which moment in a period the quantity is to be measured.
DisAggregate. Time-dependent aggregation and disaggregation
is discussed in full detail in Data Conversion of Time-Dependent Identifiers of the Language Reference.