Quantcast
Channel: OSIsoft Users Community
Viewing all articles
Browse latest Browse all 1120

Performance Equation help

$
0
0

Hello World,

 

I was looking for some help on using PI Performance Equations.

 

I would like to know the number of times a pump has turned on (from time X to time Y) but only when that same pump has been on for >10 mins.  So i was experimenting with different extraction methods and settled upon the following:

 

Using the Calculated Data datalink option, I have the following set:

  • Expression: (TimeGE('pump tag', 'start_time', 'end_time', 0) > 10)
  • Filtered Expression: ('pump tag'=1 and prevval('pump tag',curtime)=0) 
  • Calculation Mode: Count
  • Calculation Basis: Event

I'm getting results that look in line, but without a full understanding of the TimeGE function, i wasn't 100% sure.  Does the anyone know what the output of TimeGE is (days, hrs, mins, sec)?  Or if the Count mode will give me what i think it is.

 

I'm also open to other filtering criteria if anyone else can think of one.  Any help would be appreciated.

 

Thanks

 

 

 

 

 

 

 

 


Viewing all articles
Browse latest Browse all 1120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>