- Procedure DisAggregate(PeriodData, TimeslotData, Timetable, Type[, Locus])
DisAggregate
With the procedure DisAggregate
you can disaggregate time-dependent
data from a horizon time scale (periods) to a calendar time scale (time
slots).
DisAggregate(
PeriodData, ! (input) an indexed identifier over a horizon
TimeslotData, ! (output) an indexed identifier over a calendar
Timetable, ! (input) an AIMMS time table
Type, ! (input) an element in the set AggregationTypes
[Locus] ! (optional) a value between 0 and 1
)
Arguments
- PeriodData
An identifier (slice) containing the data to be disaggregated. 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.
- TimeslotData
An identifier (slice) that on returns will contain the disaggregated data. 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.
- Timetable
An indexed set in a calendar and defined over a horizon. This horizon and calendar should match with the index domains of
TimeslotData
andPeriodData
.- Type
An element of the pre-defined set
AggregationTypes
(summation
,average
,maximum
,minimum
, orinterpolation
).- Locus (only for ``interpolation`` type)
A number between 0 and 1, that indicates at which moment in a period the quantity is to be measured.
See also
The procedure Aggregate
. Time-dependent aggregation and disaggregation
is discussed in full detail in Data Conversion of Time-Dependent Identifiers of the Language Reference.