How a Generator Helps in a Power Outage