PI AF Analyses for Pump On/Off (Pump Cycling)

I want to create a PI tag that counts how many times we are cycling our pumps at a daily and monthly interval, using Analyses.

 

The criteria for a "pump cycle", is it has zero flowrate and pump status = 'Off' for 3 minutes or longer. Attached is a picture of the current logic I created in PI AF.

 

However, the Analyses is not working as I expected, and I am getting really high values (hundreds of daily pump cycles, thousands of monthly pump cycles). I think it is likely because there is no stop trigger once the "pump cycle" condition has been met. Therefore, if a pump is off for an hour, it will count this as many pump cycles instead of one, since it meets the zero flowrate and pump status = 'Off' condition for the entire duration.

 

Does anyone have experience with creating a tag for a scenario like this? Or has suggestions on how to fix the logic.

 

Thanks

 


image.png

Parents Reply Children
No Data