Calculate elapsed duration for currently running valves