5.4.3.19 Range2

The Range2 Aggregate defined in Table 67 finds the difference between the maximum and minimum values in the interval as returned by the Minimum2 and Maximum2 Aggregates. Note that the range is always zero or positive.

Table 67 – Range2 Aggregate summary
Range2 Aggregate Characteristics
TypeCalculated
Data TypeSame as Source
Use BoundsSimple (used in Minimum2 and Maximum2 calculations)
TimestampStartTime
StatusCode Calculations
Calculation Method

Custom

If Minimum2 or Maximum2 are Bad then the status is Bad_NoData. If Minimum2 or Maximum2 are Uncertain then the status is Uncertain_DataSubNormal. Good otherwise

Partial

Set Sometimes

If an interval is not a complete interval

CalculatedSet Always
InterpolatedNot Set
RawNot Set
Multi ValueNot Set
StatusCode Common Special Cases
Before Start of DataBad_NoData
After End of DataBad_NoData
No Start BoundHandled by Minimum2 and Maximum2
No End BoundHandled by Minimum2 and Maximum2
Bound Bad Handled by Minimum2 and Maximum2
Bound UncertainHandled by Minimum2 and Maximum2