Hi,
I'm trying to set up an average rate while operating, based on a tonnes per hour tag of a conveyor belt. The 24hr average is simple enough, but we have intermittent feed. When we run into problems, we leave the belt running, but stop feeding the plant, so filtering by a run state won't work.
I want the average over 24hrs for my tag, but I don't want to include any time periods where the value of the tag is below 20. For example, if we've run off and on for 18hrs out of the last 24 at 1380tph, I want an expression that tells me the rate while operating yesterday was 1380, not 1035.
Can anyone please explain how to filter out the time?
It might be round-about, but is there a way of calculating the number of hours where the rate was >20 as well?
Thanks.