Content
# HCA Well Flush Logic Narrative
Existing logic:
when pump is called to start the flush valve opens to 20% and starts a timer for 1800 if the discharge to waste time for the day is not complete. If the waste time for the day IS complete, then the flush valve remains closed and the line valve opens to 100%
When the flush timer is done the system valve opens to 100% and sets the discharge to waste completed for the day bit.
When the discharge valve is >20% open, close the flush valve.
On pump shutdown, the flush valve opens to 30% and the system valve closes once the flush valve has opened to >12%
The well only flushes after 8 hours of non run time.
New logic:
when pump is off, start the 8hour off timer
when pump is called to run,
reset the 8hour off timer
and
if the 8hour off timer is not complete, then set flush for 15 min
or if the 8hour off timer is complete, then set flush for 30 min
when the flush time is complete, open the system valve to 100% and close the flush valve when the system valve is >20% open
On pump shutdown, the flush valve opens to 30% and the system valve closes once the flush valve has opened to >12%