AnsweredAssumed Answered

Counting number of running Wells

Question asked by eradwan on Feb 20, 2018
Latest reply on Feb 21, 2018 by sraposo

Hello There,


Another question on Excel's 'CountIf' alternative! I have a number of wells that are considered to be up and running if the 'Choke Position' tag is greater than 10% and I need to have a final figure of how many wells are up from a number of 15 wells. So based on similar questions on PI Square I created another tag for each well which is a formula that will return '1' if choke position > 10% else return 0. I also created a rollup analysis that sums the number of wells returning '1' which is what I need, and it works fine in PSE. On the other hand, I'm using PI Integrator for BA and while retrieving the hourly values of attribute 'number of running wells' for the past one month I only get the value of the current time although there are cases in the data that should evaluate to different result. What is missing here?