AnsweredAssumed Answered

Question about how to set analytics for real-time.

Question asked by AMarques on Aug 18, 2017
Latest reply on Aug 14, 2019 by jngoth

I am working on exercise 1 and 2, but i have some doubts how to set properly the analyses.

Exercise 1:

  • For my plant our workday is 6:00 a.m to 6:00 am of next day.

For set a Total uptime of a process over a 24-hour period. We can use TimeEq('Status','*-24h','*',"Run")/3600  or TimeEq('Status','y+6h','t+6h',"Run")/3600 (Hour), set scheduling to periodic run every day at 06:00 and output time stamp override: -1d. This calculation only show the uptime for the last day, if i want to know the uptime of current day starting at 6:00 a.m how we can set this up? I have try to do TimeEq('Status','t+6h','+24h',"Run")/3600 set scheduling to periodic Period:00h 05m 00s but for timestamp 00:00 to 6:00 a.m of next day don´t do the right calculation.

I want to create a PI Coresight/Vision display where we can see value of MTD(month to day), last day, current day for uptime and production.

Can you help me out.



Exercise 2:

  • What's the difference of creating an attribute with a formula that do a sum or avg and performing an rollup analysis?




Best regards

André Marques