4.2.2.2 AggregateFunctionType

This ObjectType defines an Aggregate supported by a UA Server. This Object is formally defined in Table 4.

Table 4 – AggregateFunctionType Definition
Attribute Value
BrowseNameAggregateFunctionType
IsAbstractFalse
References

Node

Class

BrowseName DataType Type
Definition
Mod.
Rule
Subtype of the BaseObjectType defined in OPC 10000-5
Conformance Units
Historical Access Aggregates

For the AggregateFunctionType, the Description Attribute (inherited from the Base NodeClass), is mandatory. The Description Attribute provides a localized description of the Aggregate.

Table 5 specifies the BrowseName and Description Attributes for the standard Aggregate Objects. The description is the localized “en” text. For other locales it shall be translated.

Table 5 – Standard AggregateType Nodes
BrowseNameDescription
InterpolativeAt the beginning of each interval, retrieve the calculated value from the data points on either side of the requested timestamp.
AverageRetrieve the average value of the data over the interval.
TimeAverageRetrieve the time weighted average data over the interval using Interpolated Bounding Values.
TimeAverage2Retrieve the time weighted average data over the interval using Simple Bounding Values.
TotalRetrieve the total (time integral) of the data over the interval using Interpolated Bounding Values.
Total2Retrieve the total (time integral) of the data over the interval using Simple Bounding Values.
MinimumRetrieve the minimum raw value in the interval with the timestamp of the start of the interval.
MaximumRetrieve the maximum raw value in the interval with the timestamp of the start of the interval.
MinimumActualTimeRetrieve the minimum value in the interval and the timestamp of the minimum value.
MaximumActualTimeRetrieve the maximum value in the interval and the timestamp of the maximum value.
RangeRetrieve the difference between the minimum and maximum value over the interval.
Minimum2Retrieve the minimum value in the interval including the Simple Bounding Values.
Maximum2Retrieve the maximum value in the interval including the Simple Bounding Values.
MinimumActualTime2Retrieve the minimum value with the actual timestamp including the Simple Bounding Values.
MaximumActualTime2Retrieve the maximum value with the actual timestamp including the Simple Bounding Values.
Range2Retrieve the difference between the Minimum2 and Maximum2 value over the interval.
CountRetrieve the number of raw values over the interval.
DurationInStateZeroRetrieve the time a Boolean or numeric was in a zero state using Simple Bounding Values.
DurationInStateNonZeroRetrieve the time a Boolean or numeric was in a non-zero state using Simple Bounding Values.
NumberOfTransitionsRetrieve the number of changes between zero and non-zero that a Boolean or numeric value experienced in the interval.
StartRetrieve the value at the beginning of the interval.
EndRetrieve the value at the end of the interval.
DeltaRetrieve the difference between the Start and End value in the interval.
StartBoundRetrieve the value at the beginning of the interval using Simple Bounding Values.
EndBoundRetrieve the value at the end of the interval using Simple Bounding Values.
DeltaBoundsRetrieve the difference between the StartBound and EndBound value in the interval using Simple Bounding Values.
DurationGoodRetrieve the total duration of time in the interval during which the data is Good.
DurationBadRetrieve the total duration of time in the interval during which the data is Bad.
PercentGoodRetrieve the percentage of data (0 to 100) in the interval which has Good StatusCode.
PercentBadRetrieve the percentage of data (0 to 100) in the interval which has Bad StatusCode.
WorstQualityRetrieve the worst StatusCode of data in the interval.
WorstQuality2Retrieve the worst StatusCode of data in the interval including the Simple Bounding Values.
AnnotationCountRetrieve the number of Annotations in the interval (applies to Historical Aggregates only).
StandardDeviationSampleRetrieve the standard deviation for the interval for a sample of the population (n-1).
VarianceSampleRetrieve the variance for the interval as calculated by the StandardDeviationSample.
StandardDeviationPopulationRetrieve the standard deviation for the interval for a complete population (n) which includes Simple Bounding Values.
VariancePopulationRetrieve the variance for the interval as calculated by the StandardDeviationPopulation which includes Simple Bounding Values.