A microgrid is a discrete energy system consisting of distributed energy sources (including demand management, storage, and generation) and loads capable of operating in parallel with, or independently from, the main power grid. The primary purpose is to ensure local, reliable, and affordable energy security for urban and rural communities, while also providing solutions for commercial, industrial, and federal government consumers. Benefits that extend to utilities and the community at large include lowering greenhouse gas (GHG) emissions and lowering stress on the transmission and distribution system and reducing energy costs.