Seriously, I won't invest a penny in a UPS or generator for freshwater tanks. I already got a 24h power outage in the winter at -25C° outside due to the neighbourg home burning in fire, both my 20g reef and my 29g planted tank water went to 13C°, no corals or fishs or inverts in both tanks died from that outage.
Here my neighborgs trololo;
(Took for a cheap blackberry phone)
My planted tank is a community tropical fishs... My neons and cardinalis didn't got any whitespot... If your fishs are healty (free of diseases like ich), they can tolerate cold water for short time. Once the power come back, don't put hot water to the tank, wait for it to raise with the heater.
The only thing that's cost efficient for poweroutage, is a battery powered air pump for surface agitation for heavy bioload tanks. That's it.