Technologies that collect generated energy so it may be used at another time. Energy storage includes electric systems, such as batteries, as well as thermal systems, such as hot and cold water storage tanks. Energy storage can enhance the technical and economic viability of a distributed generation system and can operate critical systems during grid outages or in the case of emergency.