I am writing an Event Frame analyses to calculate the Level difference for a disposal tank. Basically, we are tracking the control sequence and monitoring the shutdown/output valve movement and flow readings to generate the start and end time. Based on the event generated, I am calculating the difference (Delta) between start and end time.
It seems to work fine but we may get more accurate readings if we can get the minimum Level reading in the range i.e. 10 minutes before start time of the event and the start time of the event rather than the Level reading at the start time. I tried different options with value retrieval method but does not make much sense.
What is the best way to get the minimum value of Level reading between the start time of event and 10 minutes before the start time.