Errata exists for this version of the document.

The DurationBad Aggregate defined in Table 43 divides the interval into regions of Bad and non-Bad data. Each region starts with a data point in the interval. If that data point is Bad the region is Bad. The Aggregate is the sum of the duration of all Bad regions expressed in milliseconds.

The status of the first region is determined by finding the first data point at or before the start of the interval. If no value exists, the first region is Bad.

Each Aggregate is returned with timestamp of the start of the interval. StatusCodes are Good, Calculated.

Table 43 – DurationBad Aggregate summary

DurationBad Aggregate Characteristics

Type

Calculated

Data Type

Duration

Use Bounds

Uses status of bounding value

Timestamp

StartTime

Status Code Calculations

Calculation Method

Custom

StatusCode is always Good, Calculated

Partial

Set Sometimes

If an interval is not a complete interval

Calculated

Set Always

Interpolated

Not Set

Raw

Not Set

Multi Value

Not Set

Status Code Common Special Cases

Before Start of Data

Bad_NoData

After End of Data

Bad_NoData

No Start Bound

No special handing required

No End Bound

No special handing required

Bound Bad

No special handing required

Bound Uncertain

No special handing required