5.4.3.11 Maximum

The Maximum Aggregate defined in Table 59 retrieves the maximum Good raw value within the interval, and returns that value with the timestamp at the start of the interval. Note that if the same maximum exists at more than one timestamp the MultipleValues bit is set.

Unless otherwise indicated, StatusCodes are Good, Calculated. If the maximum value is on the interval start time the status code will be Good, Raw. If only Bad quality values are available then the status is returned as Bad_NoData.

The timestamp of the Aggregate will always be the start of the interval for every ProcessingInterval.

Table 59 – Maximum Aggregate summary
Maximum Aggregate Characteristics
TypeCalculated
Data TypeSame as Source
Use BoundsNone
TimestampStartTime
StatusCode Calculations
Calculation Method

Custom

If no Bad values then the Status is Good. If Bad values exist then the Status is Uncertain_DataSubNormal. If an Uncertain value is greater than the maximum Good value the Status is Uncertain_DataSubNormal

Partial

Set Sometimes

If an interval is not a complete interval

Calculated

Set Sometimes

If the Maximum value is not on the startTime of the interval or if the Status was set to Uncertain_DataSubNormal because of non-Good values in the interval

InterpolatedNot Set
Raw

Set Sometimes

If Maximum value is on the startTime of the interval

Multi Value

Set Sometimes

If multiple Good values exist with the Maximum value

StatusCode Common Special Cases
Before Start of DataBad_NoData
After End of DataBad_NoData
No Start BoundNot Applicable
No End BoundNot Applicable
Bound Bad Not Applicable
Bound UncertainNot Applicable