View Issue Details

IDProjectCategoryView StatusLast Update
000230210000-013: AggregatesSpecpublic2015-04-21 16:14
ReporterCesar Mello Assigned ToRod Stein  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.02 
Target Version1.03Fixed in Version1.03 
Summary0002302: Delta Aggregate example for Historian1 has UncertainDataSubnormal value instead of BadNoData
Description

Part 13 of the Standard contains some sample Aggregate results in Annex A. The raw input values for the Historian 1 sample are:

Code:
Timestamp Value StatusCode
12:00:00 - Bad_NoData
12:00:10 10 Raw, Good
12:00:20 20 Raw, Good
12:00:30 30 Raw, Good
12:00:40 40 Raw, Bad
12:00:50 50 Raw, Good
12:01:00 60 Raw, Good
12:01:10 70 Raw, Uncertain
12:01:20 80 Raw, Good
12:01:30 90 Raw, Good
null No Data

The example from Annex A / Historian 1 for the Range Aggregate has the result:

Code:
Historian1
Timestamp Value StatusCode Notes
12:00:00.000 0 Good, Calculated, Partial
12:00:16.000 10 Good, Calculated
12:00:32.000 BadNoData
12:00:48.000 10 Good, Calculated
12:01:04.000 BadNoData
12:01:20.000 10 Good, Calculated, Partial
12:01:36.000 BadNoData

Notice the 3rd interval from 12:00:32 to 12:00:48 has quality BadNoData, because there is no Good value in that interval. Everything is fine here.

Now, consider the Delta Aggregate description:

Quote:
The Delta Aggregate retrieves the difference between the earliest and latest good raw values in the interval. The aggregate is negative if the latest value is less than the earliest value. The status is Uncertain_DataSubNormal if non-good values are skipped while looking for the first or last values. The status is Good otherwise. The status is Bad_NoData if no good raw values exist.

Notice that " The status is Bad_NoData if no good raw values exist", much like the Range Aggregate.

But the sample result from Annex A shows:

Code:
Historian1
Timestamp Value StatusCode Notes
12:00:00.000 0 Good, Calculated, Partial
12:00:16.000 10 Good, Calculated
12:00:32.000 0 UncertainDataSubNormal, Calculated
12:00:48.000 10 Good, Calculated
12:01:04.000 0 UncertainDataSubNormal, Calculated
12:01:20.000 10 Good, Calculated, Partial
12:01:36.000 BadNoData

Why is the third interval UncertainDataSubNormal, if the only raw value from that interval has Bad quality (Value 40)?

Additional Information

Originally asked at http://opcfoundation.org/forum/viewtopic.php?t=5035

TagsNo tags attached.
Commit Version

Relationships

related to 0002826 assignedArchie Miller NodeSets, XSDs and Generated Code Delta Aggregate example for Historian1 has UncertainDataSubnormal value instead of BadNoData 

Activities

Jim Luth

2012-12-11 18:39

administrator   ~0004367

This first has to be fixed in the tool that genrates the sample data (Randy). Next it needs to be fixed in the spec and an errata added for 1.02 (Rod).

Rod Stein

2013-08-22 19:50

developer   ~0004956

Fixed in IEC 62541-13 1.02.01.
Still needs to be fixed in the aggregate tool.

Rod Stein

2015-04-14 15:11

developer   ~0006007

Add Errata then this issue can be resolved.
From WG call.

Rod Stein

2015-04-15 16:53

developer   ~0006016

Issue fixed in IEC version and 1.03.

Corrected the StatusCode to the correct code.

Added Errata entry in 1.02.4

Linked issue is for Aggregate generating tool which at this time still needs to be fixed.

Jim Luth

2015-04-21 16:14

administrator   ~0006026

Agreed to changes reviewed in telecon.

Issue History

Date Modified Username Field Change
2012-12-07 19:05 Cesar Mello New Issue
2012-12-11 18:39 Jim Luth Note Added: 0004367
2012-12-11 18:39 Jim Luth Status new => assigned
2012-12-11 18:39 Jim Luth Assigned To => Randy Armstrong
2013-08-22 19:50 Rod Stein Note Added: 0004956
2014-08-19 17:25 Jim Luth Issue cloned: 0002826
2014-08-19 17:25 Jim Luth Relationship added related to 0002826
2014-08-19 17:39 Jim Luth Category (No Category) => Spec
2014-08-19 17:39 Jim Luth Target Version => 1.03
2015-03-18 22:31 Rod Stein Assigned To Randy Armstrong => Rod Stein
2015-04-14 15:11 Rod Stein Note Added: 0006007
2015-04-15 16:53 Rod Stein Note Added: 0006016
2015-04-15 16:53 Rod Stein Status assigned => resolved
2015-04-15 16:53 Rod Stein Fixed in Version => 1.03
2015-04-15 16:53 Rod Stein Resolution open => fixed
2015-04-21 16:14 Jim Luth Note Added: 0006026
2015-04-21 16:14 Jim Luth Status resolved => closed