Clarification for OPC UA Maximum Aggregate|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Clarification for OPC UA Maximum Aggregate
Avatar
Maxim Mogilev
New Member
Members
Forum Posts: 1
Member Since:
10/06/2016
sp_UserOfflineSmall Offline
1
10/07/2016 - 05:59
sp_Permalink sp_Print

Hello Team,

I would like to understand calculation of Maximum Aggregate.

Dataset:
– 00:00:00 20 Raw, Good
– 00:00:20 30 Raw, Uncertain

Configuration:
– TreatUncertainAsBad = False
– PercentDataGood = 100
– PercentDataBad = 100
– SteppedAttribute = False
– UseSlopedExtrapolation = False

Parameters:
– Start = 00:00:00
– End = 00:00:30
– Interval = 00:00:30

Since “5.4.3.11 Maximum” of OPC UA v1.03 specification says in “Calculation Method”:
– If no Bad values then the Status is Good.
– If Bad values exist then the Status is Uncertain_SubNormal.
– If an Uncertain value is greater than the maximum Good value the Status is Uncertain_SubNormal.

Uncertain value (30) is greater than Good value (20), but it must not use value of Uncertain, that’s why I assume that result will be:
00:00:00 20 UncertainDataSubNormal, Calculated, Partial

Calculated is set because of second part of “Calculated” definition: “… OR if the Status was set to Uncertain_SubNormal because of non-Good values in the interval”. Uncertain in non-Good value.

I used https://github.com/OPCFoundati…..ess/Tester to verify my understanding, but it produces:
00:00:00 20 Good, Partial

Please, explain how?

Regards,
Maxim

Avatar
Rod Stein
Canada
Member
Members
Forum Posts: 27
Member Since:
04/01/2014
sp_UserOfflineSmall Offline
2
11/16/2016 - 11:19
sp_Permalink sp_Print

Hi Maxim.  This post is related to issue http://opcfoundation-onlineapp…..hp?id=3391 but doesn’t directly affect the outcome.

The result of the Maximum aggregate call on the data you provided would be

00:00:00 20 UncertainDataSubNormal, Calculated, Partial as you describe. 

The value is 20 because it is the maximum good value.

The status is UncertainDataSubNormal because a higher value with a quality of not good was skipped.

The status is partial because the last data point in the set is before the end of the interval.

 

If you can tell me what historian example and what interval you looked at I can check the Aggregate testing tool.

 

Regards,

Rod

Rod Stein               Manager of Technology Matrikon OPC               http://www.matrikonopc.com

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 22
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1444
Posts: 4887