@Hi,

I am trying to calculate volume withdrawn from a chemical tank based on change in tank level. I am using PIAF analysis to perform the calculations using periodic configuration to calculate daily volume consumed from a tank. The equations are working fine for most of the time. The challenge is the tank gets refilled automatically based on level indicators, when this happen the result becomes erroneous. Please see below expressions and suggest if someone have a solution or better approach to solve this issue. Thanks in advance.

Hi Mirza,

So I played around with this for a bit, and came up with a possible solution:

The MaxVolume, MinVolume and TopUpVolume variables were just there for testing and aren't explicitly needed, but otherwise this analysis seemed to produce what looks like a believable set of results. Can you try this and see if it produces a valid output on the known days that a top-up occured?

Regards,

John