AnsweredAssumed Answered

How to Calculate the amount of time a tag has been over a certain value?

Question asked by MikeyPower on Feb 27, 2018
Latest reply on Mar 1, 2018 by sraposo



I am new to PI, I am trying to calculate how many minutes a number of tags (electrical current) has spent above a certain value (the current rating of a piece of equipment) to determine how long it has been overloaded each month.


I am using datalink, looking at about 40 current tags. I want to create a table that I can update each month to use in a report to show overloading.


  • Tag name is 'currentU'
  • Rating value is 2000


So I need an equation that gives me the time in minutes that currentU spent above 2000 since *-30days.


I've been trying to use the TimeGE performance equation as part of a filter expression in compressed data. I'm not sure if this is the best way to go about it.



Any help is much appreciated,