OPC UA Aggregates-Partial Interval|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
OPC UA Aggregates-Partial Interval
Avatar
Tran The
New Member
Members
Forum Posts: 1
Member Since:
09/12/2017
sp_UserOfflineSmall Offline
1
09/12/2017 - 08:41
sp_Permalink sp_Print sp_EditHistory

Hello,

With reference to Part 13: Aggregates OPC UA Specifications I have the following questions

The  Aggregates(Minimu,Maximum) evaluated using the raw data specified in sections A.1.1 (Historian1), A.1.2(Historian2) and A.1.3(Historian3) has the status code as Partial only for one of the aggregate intervals specified below.

Could you please justify why this aggregate interval is alone evaluated as partial and why not other intervals? 

Avatar
Paul Hunkar
Cleveland, Ohio, USA
Moderator
Members

Moderators-Specifications

Moderators-Companion

Moderators-Implementation

Moderators-Certification

Moderators-COM
Forum Posts: 112
Member Since:
02/24/2014
sp_UserOfflineSmall Offline
2
09/18/2017 - 15:42
sp_Permalink sp_Print

Hello,

  This appears to be an incomplete post?  I don’t see any intervals listed below?  So I’m not sure what to look at, but I will talk a little bit about Partial.

Partial is used to indicate that the interval is not a complete interval, i.e. I have a 5 minute interval and a start time that is 1:00:00 and an end time of 1:13:00.  In this 13 minute period I would have 2 complete intervals (5 minutes each) and one partial interval (3 minutes long).

Paul

Paul Hunkar - DSInteroperability

Avatar
Abhijeet Paunikar
Member
Members
Forum Posts: 9
Member Since:
04/21/2017
sp_UserOfflineSmall Offline
3
10/25/2017 - 03:29
sp_Permalink sp_Print

Hello Paul,

Little bit more explanation as to how the partial bit is set will be helpful.

I am also facing the same problem and not sure how partial bit is set. To elaborate the question, for Historian1, Historian2 and Historian3. Consider Minimum/Total/Maximum Aggregate calculation for above historian data. It can be seen that only for first and last interval the partial bit is set. So the question over here is as to how this bits are set for first and last interval and not for other processing intervals.

According to your explanation, there will always be at max 1 partial interval which contradicts with the OPCUA data given.

Regards,

Abhijeet

Avatar
Paul Hunkar
Member
Members
Forum Posts: 27
Member Since:
07/05/2017
sp_UserOfflineSmall Offline
4
10/25/2017 - 11:50
sp_Permalink sp_Print

Abhijeet,

  The Interval can be incomplete for two reasons, the start- end time results in a not complete interval previous example), but it can also be that the historian started collecting data after the start interval.  For one example the historian starts collecting data 12:02:00 but the interval starts at 12:00:00 which is before the start of the requested interval – thus it is not complete interval.

Paul

Avatar
Abhijeet Paunikar
Member
Members
Forum Posts: 9
Member Since:
04/21/2017
sp_UserOfflineSmall Offline
5
10/25/2017 - 22:07
sp_Permalink sp_Print

Thanks Paul for the reply.

Does that mean partial bit is for the complete interval and not for each processing interval?

Regards,

Abhijeet

Avatar
Paul Hunkar
Member
Members
Forum Posts: 27
Member Since:
07/05/2017
sp_UserOfflineSmall Offline
6
10/26/2017 - 11:06
sp_Permalink sp_Print

Abhijeet,

  It is the processing interval.  I have an interval of 12:00:00 to 12:17:00, I have a processing interval of 5 minutes.  So time for each processing intervals is 12:00-12:04:59.999, next one 12:05:00-12:09.59.999, next one is 12:10:00 – 12:17:00.  Last one is partial, it is not 5 minutes of data.  The historian has data  from 12:02:00 – some point in time well past the 12:17:00.  The first processing interval then only has data from 12:02:00-12:04:59.999 – which is also not 5 minutes, thus a partial

Paul

Avatar
Abhijeet Paunikar
Member
Members
Forum Posts: 9
Member Since:
04/21/2017
sp_UserOfflineSmall Offline
7
10/29/2017 - 20:01
sp_Permalink sp_Print

Thanks Paul. The above explanation clears the doubt.

One last question :-

Consider the above example, Interval is from 12:00:00 to 12:00:17 and processing interval of 5 minutes. and i have two raw data points one at 12:02:00 and other at 12:12:00. This means that there is one raw data point each in interval 12:00:00 – 12:04:59 and 12:10:00 – 12:15:59.

And interval 12:05:00 – 12:09:59 does not have any data point. Does that mean that this interval is partial.

-Abhijeet.

Avatar
Paul Hunkar
Member
Members
Forum Posts: 27
Member Since:
07/05/2017
sp_UserOfflineSmall Offline
8
10/31/2017 - 19:29
sp_Permalink sp_Print

I am assuming that the historian was running the entire time, then No that interval in general is not partial, depending on the aggregate there are rules for what to do if no data is available.  Partial is interval is less then processing interval or historian was not available (no data collected).  The key point for a partial, is that if you come back latter it might have a different value (historian might back file values from another source for when it was not running) or if you specify the entire time range – complete interval. 

Paul

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