First page Back Continue Last page Graphics
Counting Booster Pump Activations
- ScanEngine Explorer Script
- Add booster pump state and count variables
- New Variable booster_pump_state init off
- New Variable booster_count init 0
- New Variable hourly_booster_count init 0
- New Variable daily_booster_count init 0
- After charting, decide if booster pump is on or off
- (arbitrarily, test if it’s drawing more than 5 amps)
- If booster >= 5 //determine booster pump status & count activations
- If booster_pump_state == off
- Assign booster_pump_state = on
- Assign booster_count = booster_count + 1
- Assign hourly_booster_count = hourly_booster_count + 1
- Assign daily_booster_count = daily_booster_count + 1
- EndIf
- Else
- If booster_pump_state == on
- Assign booster_pump_state = off
- EndIf
- EndIf
- Increment booster counts every time we determine the booster pump has turned on