I highly recommend a UPS (Uninterruptable Power Supply) - basically a big battery you can plug your computer into - preferably one with a surge protector. It will protect you from data loss by giving you several minutes to save and safely close your project (and turn off your computer) if the power goes out.