The Total2 Aggregate defined in Table 20 performs the following calculation for each interval:
Total2 = TimeAverage2 x ProcessingInterval of Good data (seconds)
where TimeAverage2 is the result from the TimeAverage2 Aggregate, using the ProcessingInterval supplied to the Total2 call.
The interval of Good data is the sum of all subintervals where nonBad data exists; i.e. if a value was Bad for 1 minute in a 5minute interval then the interval of Good data would be the 4minute period.
The resulting units would be normalized to seconds, i.e. [TimeAverage2 Units] x seconds.
The Aggregate StatusCode will be determined using the StatusCode Calculation (see 5.3).
Table 20 – Total2 Aggregate summary
Total2 Aggregate Characteristics 

Type 
Calculated 

Data Type 
Double 

Use Bounds 
Simple 

Timestamp 
StartTime 



Status Code Calculations 

Calculation Method 
PercentTime 

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 
Value for Bound is Bad_NoData and is treated like any other Bad quality value in the calculation (ignored) 

No End Bound 
Value for Bound is Bad_NoData and is treated like any other Bad quality value in the calculation (ignored) 

Bound Bad 
Value is treated like any other Bad quality value in the calculation (ignored) 

Bound Uncertain 
Value is treated like any other nonGood quality value in the calculation (ignored) 