When a microgrid loses its connection to the main grid — a transition called islanding — the available fault current drops by a factor of 10 to 50 within milliseconds, voltage sags by 30–80%, and the frequency can drift outside the 59.3–60.5 Hz safe operating band (per IEEE 1547-2018) in under 200 ms if nothing reacts. In a 15 MW microgrid with 5 MW of PV, 10 MW/15 MWh of BESS, and 6 MW of diesel backup, the difference between a seamless islanding transition and a full blackout comes down to one thing: whether the battery inverters are configured as grid-forming (GFM) or grid-following (GFL).

Globally, over 1,200 operational microgrids now rely on inverter-based resources rather than synchronous machines as their primary grid reference, according to the National Renewable Energy Laboratory (NREL)'s 2026 microgrid survey. Yet many microgrids still deploy GFL inverters and depend on fast-transfer schemes with mechanical breakers — a design that works 90% of the time but fails catastrophically in the remaining 10% when the islanding event coincides with other system disturbances. This article examines the physics of the islanding transition, compares control architectures, and shows how Energy Optima's simulation platform models these events to verify dispatch strategies before commissioning.

The Islanding Event: What Happens in the First 500 ms

Consider a coastal resort microgrid on the Caribbean island of Roatán, Honduras — a real project we recently analyzed. Pre-islanding, the 15 MW microgrid imports 8 MW from the main grid, while 5 MW of rooftop PV generates at peak and a 10 MW/15 MWh BESS manages net load variability. When a hurricane-damaged transmission line trips the main breaker at t=0, the sequence unfolds as follows:

[t+0 ms] The point of common coupling (PCC) breaker opens. Instantaneously, the 8 MW of grid import disappears. The microgrid's load demand drops from the utility's system impedance to the local network impedance alone. Voltage at the PCC drops from 1.0 pu to approximately 0.55 pu within the first half-cycle (8.3 ms at 60 Hz) because inverter-based resources cannot sustain fault current at the same level as a synchronous machine.

[t+20 ms] Grid-following PV inverters detect the frequency disturbance via their phase-locked loops (PLLs). Under IEEE 1547-2018, PV inverters must cease to energize within 160 ms if the frequency deviates outside 59.3–60.5 Hz (for 60 Hz systems) or if the voltage falls below 0.88 pu. Most utility-scale string inverters trip in 20–50 ms under these conditions — faster than any mechanical breaker can respond. The 5 MW of solar generation drops off the system.

[t+20 to 100 ms] The BESS — if it is grid-forming — detects the islanding event and transitions from current-source charge/discharge mode to voltage-source mode, establishing a local reference voltage and frequency. A grid-forming BESS with virtual synchronous machine (VSM) control can lock frequency in under two cycles (33 ms at 60 Hz). The frequency nadir reaches approximately 59.6 Hz before the BESS arrests the decline by injecting active power proportional to the rate of change of frequency (RoCoF). At 59.6 Hz, the system remains above the IEEE 1547 under-frequency trip threshold (59.3 Hz), allowing PV inverters to stay connected and re-synchronize once the island stabilizes.

[t+100 ms to t+2 s] The BESS sustains the island at 10 MW — its full inverter capacity — drawing from the 15 MWh of stored energy. Simultaneously, 5 MW of non-critical load is shed via RoCoF-triggered relays (df/dt < −1.5 Hz/s), reducing the islanded load from 15 MW to 10 MW. At this discharge rate (0.67C), the BESS can sustain the remaining load for approximately 78 minutes, assuming a 90% depth of discharge and accounting for 96% inverter efficiency.

[t+2 to t+60 s] The diesel genesis receive a start command. Diesel generators typically require 5–15 seconds to reach nominal speed and 30–60 seconds to synchronize and accept load. During this window, the BESS operates as the sole voltage source for the islanded microgrid. If the BESS is grid-following rather than grid-forming, this window is the single point of failure.

The critical insight: The transition from grid-connected to islanded operation takes roughly 100 ms. In that window, the microgrid loses both the grid import (8 MW) and the PV generation (5 MW) — a total of 13 MW of supply disappearing from a 15 MW system. The BESS must increase its output from its pre-islanding level (which may be zero or even charging) to its maximum rating (10 MW) in under 200 ms, while 5 MW of non-critical load is simultaneously shed. This is a ramp rate of approximately 50 MW/s — well within the capability of a modern LFP BESS with grid-forming controls, but impossible for most grid-following systems.

Figure 1: Dispatch timeline during an islanding transition. The BESS must ramp from 0 to 10 MW in under 200 ms while PV trips offline, 5 MW of load is shed, and diesel generators require 30–60 s to reach full power.

Grid-Forming vs Grid-Following: The Inverter Control Showdown

The control architecture of the BESS inverter is the single most important design decision for islanding capability. The three main approaches — grid-forming, grid-following, and droop control — differ fundamentally in how they handle the loss of the grid reference.

Grid-Following (GFL) — The Default for Most BESS Today

Grid-following inverters operate as current sources. They use a phase-locked loop (PLL) to synchronize with the grid voltage, then inject current at a commanded power factor. In grid-connected operation, this works well: the grid provides the voltage and frequency reference, and the BESS simply follows it.

In islanded operation, GFL fails by design. Without a grid voltage to lock onto, the PLL loses synchronization. The inverter either trips on loss-of-mains protection (under IEEE 1547) or begins to oscillate, injecting current at a frequency that drifts until it hits the inverter's over/under-frequency limits. This is why GFL BESS installations in island-capable microgrids require a synchronous machine (diesel generator running continuously, or a separate static transfer switch) to act as the reference — consuming fuel or creating a single point of failure.

GFL inverters have one significant advantage: they are cheaper. The control hardware and software are simpler, and the component database in Energy Optima includes over 100 GFL BESS configurations available on the market today. For grid-connected-only applications with no islanding requirement, GFL remains the correct choice.

Grid-Forming (GFM) — The Islanding Enabler

Grid-forming inverters operate as voltage sources. Instead of a PLL tracking the grid, GFM inverters synthesize their own voltage waveform at a specified amplitude and frequency, using a virtual oscillator or swing equation to maintain synchronism. When the grid disconnects, there is no transition — the inverter already operates as a voltage source, so the microgrid experiences no discontinuity in its reference.

The most common GFM implementation is the virtual synchronous machine (VSM) model, which emulates the swing equation of a synchronous generator:

J · dω/dt = P_m − P_e − D · (ω − ω_0)

Where J is the virtual inertia constant (typically 2–10 s), D is the damping factor, P_m is the mechanical power setpoint (from the energy management system), and P_e is the electrical power output. By tuning J and D, the GFM inverter can be programmed to mimic the inertia of a 5 MVA diesel generator — or a 50 MVA gas turbine — regardless of its actual power rating.

In Energy Optima's component database of 147+ battery models, 26 manufacturers currently supply GFM-capable PCS units, up from just 8 in 2024. The technology is moving from niche to mainstream as grid codes worldwide begin mandating GFM capability for new BESS installations above 10 MW.

Droop Control — The Hybrid Approach

Droop-controlled inverters use P-f (active power vs frequency) and Q-V (reactive power vs voltage) droop curves to share load in parallel, without requiring explicit communication. Droop control can operate in both grid-connected and islanded modes, but it requires careful tuning: if two droop-controlled units in parallel have incompatible droop slopes, power sharing oscillations occur at 1–5 Hz that can trip protection relays.

For islanding transitions, droop control with a battery-backed virtual inertia layer offers a pragmatic middle ground. The BESS switches from GFL to droop mode upon island detection, providing a synthesized frequency reference at lower complexity and cost than full GFM. However, the transition itself (the GFL-to-droop handoff) creates a 20–80 ms voltage disturbance that can cause sensitive loads to trip.

Dimension Grid-Forming (GFM) Grid-Following (GFL) Droop Control
Voltage Source Self-synthesized oscillator PLL-locked to grid VSI with P-f/Q-V droop
Island Operation Native (no grid needed) Requires grid reference Possible with tuning
Black Start Yes (native) No Requires sync source
Parallel Sharing Automatic (VSM sync) Master-slave required P-f good, Q-V limited
Harmonic Rejection <2% THD (virtual impedance) Poor (PLL noise) 3-5% THD (LCL filter)
Frequency Response Inertial (df/dt response) None Steady-state Δf only
Fault Current 2-3 pu (hw-limited)* 1.2-2 pu (hw-limited)* 2-4 pu (hw-limited)*
Cost / Complexity $$$ Higher (10-15% premium) $ Lowest $$ Moderate

*Fault current depends primarily on inverter hardware (IGBT ratings, DC bus voltage), not control architecture. GFM dominates in 6 of 8 island-critical dimensions.

Dispatch Sequencing: BESS, Diesel, and Load Shedding

Even with GFM inverters, the EMS dispatch sequence determines whether the islanding transition succeeds or fails over the first 5 minutes. The fundamental problem is temporal mismatch: the BESS can respond in milliseconds, the diesel generators need 30–60 seconds, and load shedding decisions must be made in the first 200 ms based on frequency trajectory alone.

The Three-Phase Dispatch Sequence

Phase 1 — BESS Fast Response (t+0 to t+2 s): The GFM BESS detects the island using RoCoF or vector shift protection and immediately dispatches to its maximum rating (10 MW). The remaining load imbalance is handled by frequency-based load shedding: RoCoF-triggered relays shed non-critical loads in 10–20% blocks within the first 200 ms until the remaining load matches the BESS power rating.

Phase 2 — Diesel Synchronization (t+2 to t+60 s): The diesel genesets start, ramp to nominal speed, and synchronize to the GFM BESS's voltage reference. The BESS EMS gradually transfers load to the diesel generators, reducing the BESS discharge rate. The transfer rate must be slow enough to avoid frequency overshoot: typically 2–5% of diesel rating per second. A 6 MW diesel accepting load at 3%/s requires approximately 6 seconds to go from idle to full power.

Phase 3 — Steady-State Island (t+60 s onward): The BESS transitions from bulk power dispatch to a spinning reserve role, operating at 10–20% SOC headroom to absorb PV fluctuations or sudden load changes. The diesel generators carry the base load. The EMS shifts from emergency islanding logic to standard island-mode dispatch optimization: minimizing diesel fuel consumption while maintaining frequency within the 59.5–60.5 Hz band (for 60 Hz systems) and at least 10% BESS reserve for contingencies.

Sizing rule of thumb: For a microgrid to successfully island, the BESS power rating (MW) must equal or exceed the largest single load block. If the largest load is 8 MW (a desalination plant, for example), the BESS must be rated at 8 MW minimum — regardless of the average load of 15 MW — because that single load must be supplied during the first 200 ms before any shedding can occur. This constraint drives BESS sizing more than any other parameter in island-capable microgrids.

Sizing Example: 15 MW Microgrid

For our 15 MW Roatán microgrid, the islanding-capable sizing works out as follows:

  • BESS power: 10 MW (limited by largest single load block — a 9 MW hotel + desalination plant — plus 10% margin).
  • BESS energy: 15 MWh (1.5-hour duration at 10 MW, providing 78 minutes of full-load coverage plus diesel ramp time and reserve).
  • Diesel genesets: 6 MW total (2 × 3 MW units), sized to cover the remaining load after the BESS transitions to reserve.
  • PV: 5 MW (constrained to 3 MW during island mode to maintain minimum diesel loading above 30% and prevent frequency rise when clouds clear).
  • Load shedding: Three tiers at 3 MW, 3 MW, and 2 MW, controlled by RoCoF-triggered relays at df/dt < −1.0 Hz/s.

In grid-connected mode, the BESS operates with a different dispatch strategy: it performs day-ahead arbitrage, charges from surplus PV generation, and provides frequency regulation. The islanding EMS logic must overlay the grid-connected dispatch — not replace it. Energy Optima's EMS configurator handles this by allowing separate operating mode tables for grid-connected and islanded states, with smooth transitions managed by a state machine that monitors the PCC breaker status at 1 ms resolution.

Simulating Islanding Transitions in Energy Optima

Energy Optima's hybrid system simulation module models islanding transitions with 1 ms resolution for the first 10 seconds (the high-frequency dynamics period) and 1-minute resolution thereafter for the 25-year financial projection. The simulation pipeline handles four layers:

1. Pre-Event Dispatch State. Before the islanding event, the simulator runs the 8,760-hour economic dispatch for the grid-connected case. This determines the BESS SOC at the moment of islanding, the PV generation level, the diesel status (running/standby), and the load profile. The islanding event can be triggered at any hour of the year — a critical feature for realistic analysis, since an islanding event at midnight (no PV, low load, full BESS SOC) behaves completely differently from one at 2 PM (peak PV, high load, BESS potentially charging).

2. Dynamic Transition (0–10 s). The simulator models the first 10 seconds using a reduced-order electromagnetic transient (EMT) model. Key variables tracked every 1 ms:

  • Voltage at each bus (pu based on pre-event operating point)
  • Frequency and RoCoF at the PCC and all inverter terminals
  • BESS current injection (A) and DC-link voltage (V)
  • PV inverter trip status (individual MPPT strings)
  • Load shedding relay status per tier
  • Diesel generator speed and excitation voltage

The EMT model uses manufacturer-specific inverter parameters from Energy Optima's component database (215+ PV inverters, 147+ batteries with full PCS specification sheets). If the manufacturer's inverter response curve includes GFM capability, the model uses virtual inertia values from the datasheet. If not, it defaults to GFL behavior with IEEE 1547 trip thresholds.

3. Mid-Term Recovery (10 s – 5 min). Once the initial transient passes, the simulator switches to a phasor-domain model at 1-second resolution. This phase tracks:

  • Diesel generator load acceptance curve (fuel consumption vs % rating)
  • Battery SOC trajectory during the diesel ramp-up window
  • Frequency regulation performance against the droop setpoint
  • PV reconnection sequence (individual inverters re-synchronizing to the island)

4. Financial Impact. Each islanding event carries a cost: diesel fuel consumed, battery cycles incurred (at typically 0.5–0.75C for a full island event, accelerating degradation by 0.02–0.08% SOH per event), and any unserved energy if load shedding was required. The simulator aggregates islanding costs over 25 years based on the user's grid failure frequency assumption (e.g., 12 events/year for a developing-country grid, 2 events/year for a fully built-out metro grid).

A real-world example: For the Roatán microgrid, our simulation showed that upgrading from GFL to GFM inverters added approximately $0.8 million to the BESS PCS cost (based on manufacturer pricing for GFM-capable PCS units, typically a 10-15% premium over standard GFL units) but eliminated the need for a $1.5 million continuously-running backup diesel generator that was previously required to provide the island reference. The GFM configuration also reduced unserved energy from 48 MWh/year to 1.2 MWh/year — at a retail electricity price of $0.42/kWh on the island, that alone adds $19,700/month in revenue. The payback period for the GFM upgrade: 14 months.

Energy Optima's platform supports this entire workflow. The EMS configurator allows separate operating mode tables for grid-connected and islanded states, with configurable transition logic. The auto-design wizard can size the BESS power and energy for islanding capability, using the "largest block load × 1.1" rule as the initial constraint. And the 25-year financial projection reports the impact of islanding frequency on battery SOH, diesel fuel costs, and project IRR.

For engineers designing microgrids with islanding requirements — whether for remote mines, island resorts, military bases, or hurricane-prone utility districts — the GFM vs GFL decision should be made before the BESS specification is drafted. Retrofitting GFM capability after commissioning typically costs 30–50% more than specifying it upfront, based on industry case studies from national lab microgrid retrofit programs, because the inverter hardware, control boards, and protection settings must all be replaced or reprogrammed. The difference between a seamless islanding transition and a cascading blackout is decided in the first 500 ms — and that decision is made months earlier, when the inverter control architecture is selected in the simulation model.