In short. A microgrid controller manages a local network that can run with or without the utility. It decides which source leads, keeps frequency and voltage stable, shares load and moves the site between grid-connected and island operation. The steady state is easy. The hardest jobs are the transitions (islanding, black start and resynchronising) and deciding which source is grid-forming in each mode.
Who this page is for: For control engineers, consultants and owners of campuses, industrial sites or remote sites combining grid, generators, solar and batteries.
Key facts
- Primary control is local and fast (droop or grid-forming in each source).
- Secondary control restores frequency and voltage and shares reactive power.
- Tertiary control schedules sources for cost; it links to the EMS.
- In an island, one source or a defined group must set frequency and voltage.
- Inverter sources must be designated grid-forming to lead; grid-following inverters cannot.
- Island fault current is lower; protection settings must be checked for island mode.
Control layers
| Layer | Job | Speed |
|---|---|---|
| Primary | Local droop or grid-forming in each source | Milliseconds to seconds |
| Secondary | Restore frequency and voltage; share reactive power | Seconds to minutes |
| Tertiary | Economic dispatch and schedule. See EMS | Minutes to hours |
Modes
- Grid-connected: utility sets frequency; sources follow and optimise.
- Planned island: leader set before the tie opens.
- Unplanned island: utility lost; fast detection. See islanding detection.
- Black start: restore from no power. See black start.
- Resynchronisation: reconnect to utility. See sync-check logic.
Worked example: an unplanned island (illustrative)
A campus runs 1.2 MW of load from the grid with 600 kW of solar, a 500 kW / 1 MWh battery and two 625 kVA (500 kW) generators on standby. The utility trips at noon.
| Time | Event | Controller action |
|---|---|---|
| 0 ms | Utility lost; islanding detected and tie breaker opened | Battery switches to grid-forming and leads frequency and voltage; solar inverters follow |
| ~100 ms | Load 1.2 MW, solar 0.6 MW, battery 0.5 MW: about 0.1 MW short | Shed 150 kW of deferrable load |
| ~10 to 20 s | Generators start and synchronise to the battery-formed bus | Generators pick up load; battery reduces discharge |
| Steady | Load 1.2 MW less 0.6 MW solar: generators about 300 kW each (60%), plus any battery charging within their 1 MW total | Battery recharges and holds reserve; shed load restored in steps |
| Utility returns | Sync-check across tie breaker | Close, return lead to utility, stop generators after cool-down |
Without a designated grid-forming source at the moment of the trip, the solar inverters would have tripped too and the site would have gone dark. See grid-forming and grid-following.
Do not leave “who leads in the island” undefined. Two sources both trying to set frequency, or none, makes the island oscillate or collapse. Define the leader for every mode and test each transition.
Design checks
- Minimum generation and spinning reserve in the island.
- Island fault current and protection settings. See inverter fault current.
- Load shedding sized for the largest credible loss.
- Controller redundancy and behaviour if it fails.
Mode and leader sheet
| Mode | Grid-forming source | Reserve | Tested? |
|---|---|---|---|
| Grid-connected | |||
| Unplanned island | |||
| Black start | |||
| Resynchronisation |
Worked example: who takes a load step in the island (illustrative)
In an island, primary control shares a sudden load change in proportion to each source’s rating divided by its droop. Take the campus in the example above, islanded with the battery and both generators running, and a 300 kW load step.
| Source | Rating and droop | Rating ÷ droop | Share of the 300 kW step |
|---|---|---|---|
| Battery, grid-forming | 500 kW, 2% | 250 | 300 × 250 ÷ 500 = 150 kW |
| Generator 1 | 500 kW, 4% | 125 | 75 kW |
| Generator 2 | 500 kW, 4% | 125 | 75 kW |
The frequency settles where the battery’s droop line puts it: a 150 kW change on a 500 kW, 2% droop is 0.02 × 50 × 150 ÷ 500 = 0.3 Hz, so about 49.7 Hz. Secondary control then moves all the droop lines together to bring the frequency back to 50 Hz over tens of seconds, and can shift the step from the battery to the generators so the battery’s energy is kept for the next event. Primary control takes the hit; secondary control tidies up afterwards.
Worked example: how much solar the island can accept (illustrative)
At a weekend the campus load falls to 400 kW, the island has one generator running with a 30% minimum load, 0.3 × 500 = 150 kW, and the battery is full, so it can absorb nothing. Solar must then be limited to 400 − 150 = 250 kW, although 600 kW is available. If the battery had room to charge at 300 kW, the limit would rise to 550 kW. The controller recalculates the limit continuously, and the inverters’ own over-frequency response, reducing output as frequency rises, acts as a fast backup if the controller is slow or a load trips.
Fault current in each mode
| Mode (illustrative) | Sources | Sustained fault current at the main board |
|---|---|---|
| Grid-connected | Utility transformer | About 25 kA |
| Island with both generators | Two 625 kVA sets, each about 870 A rated and about 3 times that in a fault | About 2 × 2.6 = 5.2 kA |
| Island on the battery alone | 500 kW inverter, about 696 A rated, limited to about 1.5 times | About 1 kA |
On the battery alone, a feeder fault draws about one kiloampere, which most feeder breakers will not clear quickly, and the inverter may itself shut down before any breaker operates. Island protection therefore needs its own setting group, earth-fault and undervoltage-based tripping that work at inverter fault levels, and a check of every feeder in every mode. Protection settings proven only with the grid connected say nothing about the island.
Black start from the battery
- The battery inverter forms the voltage and energises the main transformer by ramping its voltage up from zero over a second or two, avoiding the large inrush a sudden switch-on would cause.
- Generators start and synchronise to the battery-formed bus, one at a time.
- Solar inverters reconnect only once frequency and voltage are stable, as their own settings require.
- Loads are restored in steps sized to the sources running, critical loads first.
- When the utility returns, the controller synchronises the island to it and closes the tie.
What may depend on communications
Primary control must work with every network cable unplugged, because it acts in milliseconds and a network failure is exactly the kind of event during which it is needed. Secondary control, which restores frequency and shares reactive power over seconds, can use the network but must hold its last values safely if the link is lost. Tertiary scheduling over minutes and hours can depend on the network and on outside data such as tariffs and forecasts. Design the communication paths to match those three speeds, and test each one with its network removed.
Transitions to test, and what passes
| Transition | Pass when |
|---|---|
| Planned island | Tie opens with near-zero exchange; frequency and voltage barely move |
| Unplanned island at maximum import | Leader takes over, shedding acts, no source trips |
| Loss of the grid-forming source in the island | Another source takes the lead or the defined fallback acts |
| Black start | Site restored in the planned order and time |
| Resynchronisation and reconnection | Close inside the sync-check window; sources return to grid-connected modes |
| Controller failure in each mode | Sources continue safely on local control |
Record frequency, voltage and power for each source through each transition. These records are the evidence that the microgrid works as designed, and they are the baseline when a later change needs to be checked.
Sizing the battery for the leader role
As the grid-forming leader at the moment of islanding, the battery must cover the whole gap between load and the other sources until the generators are on the bus. Energy is rarely the limit: covering 500 kW for 20 seconds takes only 500 × 20 ÷ 3600 ≈ 2.8 kWh. Power is the limit.
If the import at the moment of the trip exceeds the battery’s power rating, the shortfall must be shed at once, which is why the shed amount in the example is calculated from the measured import less the battery’s spare power. Cloud also matters: if solar can fall from 600 kW to 100 kW in half a minute, the battery must be able to pick up that 500 kW while the generators respond, so its power rating, not only its energy, is sized for the largest solar swing.
Voltage and reactive power in the island
In the island, the leader also sets the voltage, and every source must share the reactive load. Generators share it through their voltage droop; inverters through a reactive droop or a fixed power factor. Motor starts, transformer energising and capacitor banks switching on are the big reactive events, and inverters have a fixed current limit that reactive current uses up as quickly as real current. Check that the reactive capability of the sources running in each mode covers the largest motor start, and that capacitor banks for power factor correction are switched out or controlled when the site islands, because they can push an inverter-led island into overvoltage.
Securing the controller
A microgrid controller can open the tie and start and stop every source, so it is as much a security asset as a control one. Keep it on a segmented control network, give each user a named account, allow remote access only through a controlled gateway, and make sure no command from outside can override local protection or the leader logic. A controller that can be reached from the office network is a single point of failure that someone else can trigger.
Common mistakes
- No designated leader in island mode.
- Grid-connected protection settings used in island mode.
- Transitions never tested.
- No plan if the controller itself fails.
What to send us
Send the single-line diagram, source ratings and the modes you need. WhatsApp 98852 01608 or use the application engineering enquiry.
Evidence note. Ratings and timings are illustrative; studies and makers’ data govern.
Questions engineers ask
How do sources share a load step in a microgrid island?
In proportion to each source rating divided by its droop. With a 500 kW battery at 2% droop and two 500 kW generators at 4%, a 300 kW step splits 150 kW to the battery and 75 kW to each generator, and frequency settles about 0.3 Hz low. Secondary control then restores 50 Hz and can move the load to the generators.
Will breakers trip on an island fed only by a battery?
Often not quickly. A 500 kW battery inverter rated about 696 A may deliver only about 1.5 times that, around 1 kA, to a fault, far below what many feeder breakers need, and the inverter may shut down first. Island mode needs its own protection settings, with earth-fault and undervoltage-based tripping checked for every feeder.
Is a microgrid just a generator with solar?
No. A generator with solar is just two sources. A microgrid adds a controller that decides which source leads, keeps frequency and voltage stable, moves the site safely between grid-connected and island operation, black-starts it and reconnects it, with protection that works in every mode. Those transitions are what make it a microgrid.
Can it run without a battery?
Yes, with generators forming the island, but solar output then has to be limited so the running generators stay above their minimum load and can absorb cloud-driven swings. Solar-heavy islands without a battery often need more generators running than the load alone would justify, which reduces the fuel saving the solar was meant to bring.
Does utility approval apply?
Usually yes for anything that parallels with the utility network: grid-connected operation of generators and batteries, export, and closed transitions into and out of island mode. The utility sets the interface protection, the reconnection rules and the tests it witnesses. Island operation behind an open tie usually needs only that the separation is assured.
What if the controller fails?
Each source should fall back to safe local control that was defined in advance: generators to droop sharing, the battery to a fixed role such as grid-forming at its last set point or standby, solar to a fixed limit. The island keeps running without optimisation, and operators follow a written procedure. Test this in every mode.
This guide gives general principles. Microgrids need a project-specific study.
Technical content reviewed by D. Srinivas Reddy, Managing Partner and Service Engineer, Reddy Generators. Last updated 8 November 2026.