Definition M

Microgrid

Localized energy system that can operate independently from the main grid, integrating solar, storage, and other distributed resources.

Updated Mar 2026 5 min read
Keyur Rakholiya

Written by

Keyur Rakholiya

CEO & Co-Founder · SurgePV

Rainer Neumann

Edited by

Rainer Neumann

Content Head · SurgePV

Key Takeaways

  • A microgrid is a self-contained energy system that can disconnect from and reconnect to the main utility grid
  • Typically combines solar PV, battery storage, and a backup generator with intelligent controls
  • Provides energy resilience during grid outages — critical for hospitals, military bases, and remote communities
  • Can operate in grid-connected mode (normal) or island mode (during outages)
  • Solar-plus-storage microgrids are increasingly cost-competitive with diesel-only backup systems
  • Design complexity is significantly higher than standard grid-tied solar installations

What Is a Microgrid?

A microgrid is a localized energy system that can operate independently from the main utility grid. It integrates distributed energy resources — typically solar PV, battery storage, backup generators, and controllable loads — within a defined electrical boundary. The key distinction from a standard solar installation is the ability to “island”: disconnect from the utility grid and continue supplying power autonomously.

In grid-connected mode, a microgrid operates like a conventional distributed generation system, exchanging power with the utility. When the grid goes down — due to storms, equipment failure, or planned outages — the microgrid’s controller seamlessly transitions to island mode, maintaining power to critical loads using its on-site generation and storage resources.

A grid-tied solar system without storage shuts down during an outage (anti-islanding protection). A microgrid keeps the lights on. That distinction matters when the customer’s operations can’t tolerate even brief interruptions.

How a Microgrid Works

The microgrid operates through coordinated control of multiple energy assets:

1

Grid-Connected Operation

During normal conditions, the microgrid operates in parallel with the utility grid. Solar PV supplies on-site loads, excess energy charges batteries or exports to the grid, and the utility provides backup as needed.

2

Outage Detection

When a grid disturbance or outage is detected, the microgrid controller opens the point of common coupling (PCC) — the switch connecting the microgrid to the utility grid — within milliseconds.

3

Island Mode Transition

The grid-forming inverter (or generator) establishes voltage and frequency reference for the isolated microgrid. Battery storage bridges the transition, providing instant power while other resources ramp up.

4

Load Management

The controller prioritizes critical loads (medical equipment, refrigeration, communications) and may shed non-essential loads to match available generation. Smart load management extends autonomy.

5

Resource Dispatch

The controller optimizes dispatch across solar, batteries, and generators. Solar charges batteries during daylight; batteries supply loads at night; generators run only when solar and storage are insufficient.

6

Grid Reconnection

When the utility grid is restored, the controller synchronizes the microgrid’s voltage and frequency with the grid before closing the PCC switch, seamlessly returning to grid-connected operation.

Types of Microgrids

Microgrids serve different applications with varying complexity and scale:

Most Common

Campus / Institutional

Serves a university, hospital, military base, or corporate campus. Multiple buildings share generation and storage resources. Provides resilience for critical operations during grid outages. Typical size: 500 kW–10 MW.

Growing Segment

Community Microgrid

Serves a residential neighborhood or small commercial district. Multiple customers benefit from shared solar, storage, and backup generation. Often developed with utility or municipal support. Typical size: 200 kW–5 MW.

Specialized

Remote / Off-Grid

Powers locations without utility grid access — islands, mining sites, rural villages, telecommunications towers. Solar and storage replace or supplement diesel generators. Typical size: 10 kW–5 MW.

Emerging

Residential Nanogrid

A single-home system with solar, battery storage, and automatic transfer switch. Provides whole-home or partial-home backup during outages. The smallest and simplest form of a microgrid. Typical size: 5–20 kW.

Designer’s Note

Microgrid design requires detailed load profiling — understanding not just total energy consumption but peak demand, critical vs. non-critical loads, and time-of-day patterns. Standard solar design software handles the PV and storage sizing, but microgrid-specific controls and protection engineering add layers of complexity beyond a typical grid-tied system.

Key Components

ComponentRoleTypical Technology
Solar PV ArrayPrimary renewable generation sourceRooftop or ground-mount panels, 10 kW–10 MW
Battery Energy StorageBridges intermittency, enables islandingLithium-ion (LFP or NMC), 4–8 hour duration
Backup GeneratorProvides power when solar + storage is insufficientDiesel, natural gas, or propane genset
Microgrid ControllerOptimizes dispatch, manages transitionsSoftware + hardware platform (e.g., Schneider, ABB, Heliotrope)
Grid-Forming InverterEstablishes voltage/frequency reference in island modeBattery inverter with grid-forming capability
Point of Common Coupling (PCC)Switch connecting microgrid to utility gridAutomatic transfer switch or static switch
Distribution SystemInternal wiring connecting all assets and loadsExisting or new distribution panels and circuits
Pro Tip

Not all inverters support island mode. Ensure the battery inverter has grid-forming capability — the ability to establish its own voltage and frequency reference without the utility grid as a source. Grid-following inverters (the standard type) cannot operate in island mode without a grid reference signal.

Microgrid Sizing Considerations

ParameterHow It Affects Sizing
Critical load profileDetermines minimum generation and storage capacity during island mode
Autonomy requirementHours or days of operation without grid — more autonomy requires more storage
Solar resourceLocal irradiance determines PV array size needed to charge batteries and supply loads
Reliability target99% vs. 99.99% uptime changes the redundancy and backup generation requirements
BudgetSolar + storage is cheaper long-term; diesel gensets are cheaper upfront
Space constraintsAvailable area for PV, battery containers, and generator equipment
Minimum Battery Capacity (Island Mode)
Battery kWh = Critical Load (kW) × Autonomy Hours × (1 / Round-Trip Efficiency)

Practical Guidance

  • Start with the critical load analysis. Identify which loads must stay powered during an outage and for how long. This drives battery sizing and generator requirements. Use solar software to model the PV contribution to the microgrid energy balance.
  • Size storage for the worst case. Model battery autonomy for the worst consecutive cloudy days at the site location. If the customer needs 48 hours of autonomy and solar may produce nothing for 2 days, the battery (plus generator) must cover the entire critical load independently.
  • Design for both modes. The system must work efficiently in grid-connected mode (optimizing economics) and reliably in island mode (maintaining power quality). These are different design objectives that must be balanced.
  • Specify grid-forming inverters. At least one inverter must be grid-forming to establish voltage and frequency in island mode. Verify compatibility between the solar inverters, battery inverter, and microgrid controller.
  • Test islanding before commissioning. Simulate a grid outage during commissioning to verify seamless transition. Measure transition time (should be under 100ms for sensitive loads), verify load shedding sequence, and confirm generator start-up.
  • Coordinate with the utility early. Microgrid interconnection requires utility approval for the islanding capability and protection scheme. Some utilities have specific technical requirements that affect equipment selection.
  • Install proper protection relays. The PCC requires protection relays to prevent backfeed to the utility during island mode. Improper protection creates safety hazards for utility line workers.
  • Plan for maintenance access. Microgrids have more components than standard solar — batteries, generators, switchgear, controllers. Design the physical layout for safe, efficient maintenance access.
  • Quantify the cost of downtime. The strongest sales argument for a microgrid is the financial cost of grid outages. Hospitals lose $1,000+/minute during outages. Data centers, manufacturing facilities, and cold storage have similarly high costs. Frame the microgrid investment against these losses.
  • Compare total cost of ownership against diesel-only backup. Diesel generators have low upfront cost but high fuel, maintenance, and emissions costs over 20 years. Solar-plus-storage microgrids have higher upfront cost but minimal operating costs. Present the 20-year TCO comparison.
  • Highlight dual-mode value. The microgrid doesn’t just provide backup — it actively reduces electricity costs during normal operations through peak shaving, demand charge reduction, and energy arbitrage.
  • Mention available incentives. Many states and the federal government offer grants and tax incentives for microgrid projects, especially for critical infrastructure. FEMA, DOE, and state energy offices have active programs.

Design the Solar Component of Any Microgrid

SurgePV’s solar design software models PV generation, storage sizing, and financial returns — giving you the solar foundation every microgrid needs.

Start Free Trial

No credit card required

Real-World Examples

Hospital Campus: 2 MW Microgrid

A regional hospital in Puerto Rico installs a 2 MW solar array, 4 MWh lithium-ion battery system, and a 1.5 MW natural gas generator. After Hurricane Maria left the hospital on diesel generators for 4 months, the administration prioritized energy resilience. The microgrid maintains power to all critical systems (operating rooms, ICU, pharmacy refrigeration) for 72 hours without any external fuel delivery. During normal operations, the system reduces the hospital’s electricity bill by $380,000/year.

Remote Mining Site: 500 kW Off-Grid Microgrid

A gold mining operation in northern Australia replaces 60% of its diesel consumption with a 500 kW solar array and 1.2 MWh battery system. The existing 800 kW diesel generators remain as backup but now run only at night and during extended cloudy periods. Fuel consumption drops from 450,000 liters/year to 180,000 liters/year, saving $540,000 annually at local diesel prices.

Residential Community: Neighborhood Nanogrid

A 50-home community in California’s wildfire zone deploys individual solar-plus-storage systems (10 kW solar + 13.5 kWh battery per home) with a shared community controller. During Public Safety Power Shutoffs (PSPS), each home maintains power to refrigeration, lighting, and internet. The community microgrid also shares excess capacity, so homes with higher demand can draw from neighbors with surplus.

Frequently Asked Questions

What is the difference between a microgrid and an off-grid system?

A microgrid is normally connected to the utility grid and can disconnect to operate independently during outages. An off-grid system has no utility connection at all and must be fully self-sufficient at all times. Microgrids benefit from grid connectivity during normal operations (lower costs, grid as backup) while providing resilience during outages. Off-grid systems are designed for locations where no grid connection exists.

How much does a solar microgrid cost?

Solar microgrid costs vary widely based on scale and complexity. A residential nanogrid (solar + battery + transfer switch) costs $25,000–$50,000. A commercial campus microgrid (500 kW–5 MW) ranges from $2,000–$4,000 per kW of capacity, including solar, storage, controls, and installation. Larger utility-grade microgrids can cost $5–$20 million or more. The federal ITC (30%) applies to the solar and storage components, significantly reducing net cost.

Can a microgrid work without battery storage?

Technically yes, but it is uncommon and limits functionality. Without batteries, a microgrid relies on generators to provide the grid-forming reference signal and absorb solar variability during island mode. Solar output fluctuates with clouds, and without storage to buffer these swings, power quality suffers. Most modern microgrids include battery storage because it enables faster islanding transitions, smooths solar intermittency, and reduces generator runtime and fuel costs.

About the Contributors

Author
Keyur Rakholiya
Keyur Rakholiya

CEO & Co-Founder · SurgePV

Keyur Rakholiya is CEO & Co-Founder of SurgePV and Founder of Heaven Green Energy Limited, where he has delivered over 1 GW of solar projects across commercial, utility, and rooftop sectors in India. With 10+ years in the solar industry, he has managed 800+ project deliveries, evaluated 20+ solar design platforms firsthand, and led engineering teams of 50+ people.

Editor
Rainer Neumann
Rainer Neumann

Content Head · SurgePV

Rainer Neumann is Content Head at SurgePV and a solar PV engineer with 10+ years of experience designing commercial and utility-scale systems across Europe and MENA. He has delivered 500+ installations, tested 15+ solar design software platforms firsthand, and specialises in shading analysis, string sizing, and international electrical code compliance.

Explore More Solar Terms

Browse 300+ terms in our complete solar glossary — or see how SurgePV puts these concepts into practice.

No credit card required · Full access · Cancel anytime