I recently added a 1500VA CyberPower UPS to my 65g RSR 250. This tank is Apex controlled and I control the main heater, return pump, wavemaker and skimmer by the Apex. My other equipment including a backup heater are just connected to mains power.
During a power outage I only run the pumps, and leave the heater off. I keep all three pumps (return, wavemaker, skimmer) on for 30 mins and then switch to a ‘keep alive’ mode, running them 5 mins out of every 15. This gives me around five and a half hours runtime out of the UPS.
Here is my Apex program including the code for power outages.
Oh, and whilst I think about it may I please say thank you to all the forum members from another forum who helped me with great suggestions when I was planning my installation!
I’m sure some are common to this forum too.
[ATOPump]
# Outlet for the ATO Pump connected to the FMM
# No point trying to run this during a power outage as the PMUP is powered from mains power
#
Fallback OFF
Set OFF
If ATOLo OPEN Then ON
If ATOHi CLOSED Then OFF
When On > 020:00 Then OFF
If Time 13:00 to 11:59 Then OFF
If Outlet PowerOutage = ON then OFF
Defer 000:10 Then ON
Defer 000:04 Then OFF
Min Time 120:00 Then OFF
[AutoFeeder]
Set OFF
If Outlet V-Feed = ON then ON
Defer 1:00 then ON
[EmailAlert]
Set OFF
If Power Apex OFF 000 Then ON
If Outlet PowerOutage = ON Then ON
If Outlet PowerOutLong = ON Then ON
If Power EB6_1 OFF 001 Then ON
If Error ATOPump Then ON
If ATOHi CLOSED Then ON
If FlrLk CLOSED Then ON
If Outlet SumpLow = ON Then ON
Defer 000:02 Then ON
[MainHeater]
Fallback OFF
If Tmp < 25.0 Then ON
If Outlet PowerOutage = ON then OFF
If Tmp < 20.0 then ON
Defer 000:20 Then ON
If Tmp > 25.2 Then OFF
Defer 000:20 Then OFF
[PowerOutage]
# VO to indicate a power outage
# Strictly speaking this is redundant but it improves the readability of other code
#
Set OFF
If Power Apex OFF 001 Then ON
[PowerOutLong]
# VO to indicate a power outage has gone beyond the first threshold
# Used to turn off/reduce use of less important devices to extend life of the UPS
#
Set OFF
If Outlet PowerOutage = ON then ON
Defer 030:00 Then ON
[ReturnPump]
Fallback ON
OSC 000:00/005:00/010:00 Then ON
If Outlet PowerOutLong = OFF Then ON
If FeedA 000 Then OFF
If FeedB 000 Then OFF
If Outlet V-Feed = ON Then OFF
[Skimmer]
Fallback OFF
Set ON
If Outlet ReturnPump = OFF Then OFF
If FeedB 000 Then OFF
Defer 1:00 Then ON
[SumpLow]
# VO to detect if the sump water level is low
#
Set OFF
If SumpLo OPEN Then ON
Defer 001:00 Then ON
[V-Feed]
Set OFF
If Time 19:00 to 19:09 Then ON
[WaveMaker]
Fallback ON
OSC 000:00/005:00/010:00 Then ON
If Outlet PowerOutLong = OFF Then ON
If FeedA 001 Then OFF
If FeedB 000 Then OFF