A microgrid refers to a local power system composed of distributed energy resources (such as solar energy, battery energy storage, diesel generators, etc.) and loads, which has the ability to operate autonomously and can independently operate in either **grid-connected (grid-connection) or off-grid** mode.

