A microgrid manages distributed energy resources (DERs) and interconnected energy loads within a defined electrical boundary, such as a campus or business park. Distributed energy resources can include both traditional fossil fuel generators and renewable energy sources working together.