---
title: Inverter-based resources and the changing grid
heading: How solar, wind and batteries connect through power electronics, falling inertia and faster frequency swings, grid-following and grid-forming inverters, synthetic inertia and fast frequency response, weak grids and short-circuit ratio, and limited fault current
eyebrow: S10 · Lesson 46 · Inverter-based resources and the changing grid
xp: 50
---

::: hook
Everything so far assumed that power comes from big spinning synchronous machines, whose inertia steadies frequency, whose internal voltages hold up the grid, and whose huge fault currents trip relays. Solar panels, batteries and most modern wind turbines connect through inverters instead: no inertia unless programmed, fault current limited to little more than rated, and behavior set by control software. On some grids they already supply most of the power at times, and the tools of this course are being rethought around them.
:::

::: play
- The frequency of the system of lesson 30 after losing 5% of its generation, as a growing share of it comes from inverter-based plants that provide no inertia (H scales down with the synchronous share). Dashed: all synchronous.
- At 60% inverter-based generation the inertia is 2 s instead of 5: frequency falls 2.5 times as fast at first and the nadir deepens from −0.41 to −0.59 Hz.
- Inverters can do better than nothing: programmed to inject power in proportion to the rate of change of frequency, or simply very fast, they can arrest a fall sooner than any turbine.
:::

```sim plot
view: graph
x: t = 0..15 s
y: df = -1..0.05 Hz
slider: s = 0..0.8 = 0.6
plot: -0.05*60*((1/21)*(1 - exp(-(10*(1 - s) + 4)/(40*(1 - s))*t)*(cos(sqrt(21/(40*(1 - s)) - ((10*(1 - s) + 4)/(40*(1 - s)))^2)*t) + (10*(1 - s) + 4)/(40*(1 - s))/sqrt(21/(40*(1 - s)) - ((10*(1 - s) + 4)/(40*(1 - s)))^2)*sin(sqrt(21/(40*(1 - s)) - ((10*(1 - s) + 4)/(40*(1 - s)))^2)*t))) + 4/(40*(1 - s))*exp(-(10*(1 - s) + 4)/(40*(1 - s))*t)*sin(sqrt(21/(40*(1 - s)) - ((10*(1 - s) + 4)/(40*(1 - s)))^2)*t)/sqrt(21/(40*(1 - s)) - ((10*(1 - s) + 4)/(40*(1 - s)))^2)) | samples: 1000 | label: with inverter share s
plot: -0.05*60*((1/21)*(1 - exp(-14/40*t)*(cos(sqrt(21/40 - (14/40)^2)*t) + 14/40/sqrt(21/40 - (14/40)^2)*sin(sqrt(21/40 - (14/40)^2)*t))) + 4/40*exp(-14/40*t)*sin(sqrt(21/40 - (14/40)^2)*t)/sqrt(21/40 - (14/40)^2)) | dashed | color: ch3 | label: all synchronous
readout: system inertia H, s = 5*(1 - s) | digits: 3
readout: initial fall, Hz/s = 0.05*60/(2*5*(1 - s)) | digits: 3
```

::: predict
## A 300 MW solar plant's inverters can supply 1.2 times rated current during a fault. On a 230 kV bus, how much fault current does the plant contribute?

- [ ] About 5 kA, like a synchronous generator of the same size
- [x] About 0.9 kA
- [ ] Zero: inverters shut down during faults
- [ ] About 0.1 kA

::: reveal
Rated current is 300 MW/(√3 × 230 kV) = 0.75 kA, and 1.2 times that is 0.90 kA. A synchronous machine of the same rating would deliver five to seven times rated. Relays set for big fault currents can fail to see faults on grids dominated by inverters, so protection must be redesigned around them.
:::
:::

::: nameit
## Inverter-based resources

Solar, batteries and most wind turbines (type 3 doubly fed and type 4 full-converter) connect through voltage-source converters whose output is set by fast current control. Their semiconductors can't tolerate overcurrent, so fault current is held to about 1 to 1.5 pu.

## Grid-following and grid-forming

- **Grid-following** inverters measure the grid's voltage and angle with a phase-locked loop and inject a commanded current: a controlled current source that needs a strong grid voltage to follow.
- **Grid-forming** inverters behave as a voltage source behind an impedance, setting their own frequency by droop or by emulating a synchronous machine. They can run islanded and stabilize weak grids, and are being adopted for batteries.

## Inertia and frequency

Inverter plants add no stored kinetic energy, so as they displace synchronous units, H falls and the rate of change of frequency rises: $df/dt = \Delta P f_0/(2HS)$ (lesson 30). Inverters can supply **synthetic inertia**, power proportional to df/dt, $\Delta P = \frac{2H_vS}{f_0}\frac{df}{dt}$, or **fast frequency response**, a quick step of power when frequency falls.

## Weak grids

The **short-circuit ratio** $\text{SCR} = S_{sc}/P_\text{rated}$ at a plant's connection measures grid strength. Below about 3 a grid is weak: voltage swings with the plant's output, and grid-following controls can become unstable.

## Ride-through

Grid codes require plants to stay connected through voltage and frequency excursions (low-voltage ride-through), since thousands of inverters tripping at once on a fault can turn a small event into a large loss of generation, as happened in Southern California in 2016 and 2017.
:::

::: example
## A 50 GW system's synchronous fleet has H = 5 s. When 40% of the generation is inverter-based, what's the rate of change of frequency after a 1.5 GW loss?

::: solution
1. **Remaining inertia.** On the 50 GW base:
   $$\begin{aligned} H &= 5 \times 0.6 \\ &= 3\ \text{s} \end{aligned}$$
2. **Rate of change of frequency.**
   $$\begin{aligned} df/dt &= \frac{1.5 \times 60}{2 \times 3 \times 50} \\ &= 0.30\ \text{Hz/s} \end{aligned}$$
   against 0.18 Hz/s with an all-synchronous fleet.
3. **Consequence.** Many protection schemes for distributed generation trip on high ROCOF, so the threshold settings have had to be raised.

**Answer:** 0.30 Hz/s.
:::
:::

::: example
## A 100 MW battery should emulate H = 5 s of inertia on its own rating. How much power must it inject while frequency falls at 0.5 Hz/s?

::: solution
1. **Power to inject.**
   $$\begin{aligned} \Delta P &= 2H_vS(df/dt)/f_0 \\ &= 2 \times 5 \times 100 \times 0.5/60 \\ &= 8.3\ \text{MW} \end{aligned}$$
2. **A better use.** A battery can deliver its full 100 MW within a fraction of a second, so fast frequency response, a near-step of power rather than inertia emulation, is often the more effective use of it.

**Answer:** 8.3 MW.
:::
:::

::: example
## A 200 MW solar plant connects at a bus with a 600 MVA short-circuit level. What is its short-circuit ratio, and what does a 300 MVA synchronous condenser with X″ = 0.2 pu (on its rating) do?

::: solution
1. **Short-circuit ratio.**
   $$\begin{aligned} \text{SCR} &= 600/200 \\ &= 3 \end{aligned}$$
   a weak connection, where grid-following inverters risk control interactions.
2. **The condenser's contribution.** It contributes 300/0.2 = 1500 MVA of fault level, raising the bus to 2100 MVA.
3. **New ratio.**
   $$\begin{aligned} \text{SCR} &= 2100/200 \\ &= 10.5 \end{aligned}$$
4. **Other benefits.** It also adds inertia and voltage support, which is why condensers are returning to grids with high inverter shares.

**Answer:** an SCR of 3, which the condenser raises to 10.5.
:::
:::

::: check
given: H = 4 | 5 | 6; s = 0.3 | 0.6 | 0.7
answer: H*(1 - s)
unit: s
tolerance: 0.5%

## A system's synchronous units have H = {H} s. If {s} of the generation becomes inverter-based with no inertia, what's the system H on the same base?

::: right
Right. $H(1 - s)$ = {answer} s.
:::

::: misses
- [H*s] The inertia that remains is the synchronous share's.
- [any] Not yet. Stored energy falls in proportion to the synchronous share.
:::
:::

::: check
given: P = 0.6 | 1.5 | 3; S = 30 | 80; H = 1.5 | 3 | 5
answer: P*60/(2*H*S)
unit: Hz/s
tolerance: 0.5%

## A {S} GW system with H = {H} s loses {P} GW. What's the initial ROCOF?

::: right
Right. $\Delta Pf_0/(2HS)$ = {answer} Hz/s.
:::

::: misses
- [any] Not yet. $df/dt = \Delta Pf_0/(2HS)$.
:::
:::

::: check
given: S = 500 | 1500 | 4000; P = 100 | 400
answer: S/P
tolerance: 0.5%

## A {P} MW wind farm connects at a bus with a {S} MVA short-circuit level. What's its short-circuit ratio?

::: right
Right. $S_{sc}/P$ = {answer}; below about 3 the grid is considered weak.
:::

::: misses
- [P/S] It's the short-circuit level over the plant's rating.
- [any] Not yet. SCR = $S_{sc}/P_\text{rated}$.
:::
:::

::: check
given: H = 2 | 5; S = 50 | 300; r = 0.2 | 1
answer: 2*H*S*r/60
unit: MW
tolerance: 0.5%

## An inverter of {S} MW rating emulates H = {H} s. How much power does it inject while frequency falls at {r} Hz/s?

::: right
Right. $2H_vS(df/dt)/f_0$ = {answer} MW.
:::

::: misses
- [H*S*r/60] The kinetic-energy relation carries a factor of 2.
- [any] Not yet. Synthetic inertia: $\Delta P = 2H_vS\dot{f}/f_0$.
:::
:::

::: check
given: P = 100 | 500; V = 69 | 230; k = 1.1 | 1.5
answer: k*P*1e6/(sqrt(3)*V*1e3)/1000
unit: kA
tolerance: 0.5%

## A {P} MW inverter plant limits its fault current to {k} times rated. How much does it contribute at {V} kV?

::: right
Right. {k} × $P/(\sqrt{3}V)$ = {answer} kA.
:::

::: misses
- [P*1e6/(sqrt(3)*V*1e3)/1000] Include the {k} overload allowance.
- [any] Not yet. Rated current times the limit.
:::
:::

::: check
given: P = 4 | 6; S = 30 | 50; H = 1.5 | 2.5; r = 0.5 | 0.8
answer: P*1000 - 2*H*S*1000*r/60
unit: MW
tolerance: 0.5%

## A {S} GW system with H = {H} s must keep ROCOF below {r} Hz/s when it loses {P} GW. How much fast frequency response must act immediately?

::: right
Right. Only $2HS\dot{f}_\max/f_0$ can come from inertia; the rest, {answer} MW, must come from fast response.
:::

::: misses
- [P*1000] Inertia still covers part of it.
- [any] Not yet. Deficit minus what inertia can supply at the allowed ROCOF.
:::
:::

::: check
kind: parts
given: S = 400 | 800 | 1500; P = 100 | 300; C = 100 | 300; x = 0.15 | 0.25

## A {P} MW inverter plant connects at a bus with a {S} MVA short-circuit level; a synchronous condenser of {C} MVA with X″ = {x} pu is added there.

::: part
answer: S/P
tolerance: 0.5%

### What was the short-circuit ratio?

::: misses
- [any] $S_{sc}/P$.
:::
:::

::: part
answer: (S + C/x)/P
tolerance: 0.5%

### What is it with the condenser?

::: misses
- [(S + C)/P] The condenser adds its fault contribution, $S/X''$, not its rating.
- [any] $(S_{sc} + S_c/X'')/P$.
:::
:::
:::

::: check
kind: derivation
vars: H = 2..8, s = 0..0.9, S = 5..100, P = 0.1..5

## A system's synchronous units have inertia H; a fraction s of its S GW of generation is inverter-based with no inertia, and it loses P GW.

::: step
answer: (1 - s)*H

### What is the system's effective inertia constant?
:::

::: step
answer: P/(2*(1 - s)*H*S)*60

### What is the initial ROCOF, in Hz/s?
:::

::: right
Right. Halving the synchronous share doubles the initial rate of fall for the same loss.
:::
:::

::: explain
## Why does replacing synchronous generators with inverter-based plants make frequency fall faster after a disturbance?

::: model
Right after a generator trips, nothing in the control systems has acted yet, so the missing power has to come from somewhere instantly. In a synchronous system it comes from the kinetic energy of every spinning rotor, which slows down together, and the more stored energy there is, the more slowly frequency falls for a given deficit. An inverter-based plant has no rotating mass coupled to the grid, and a grid-following inverter simply keeps injecting its commanded current, so it contributes nothing to that first response. With less total stored energy, the same deficit drains it faster, and frequency falls faster, unless the inverters are programmed to respond to frequency themselves.
:::
:::

::: practice

::: check
given: H = 3.5 | 6; s = 0.2 | 0.65
answer: H*(1 - s)
unit: s
tolerance: 0.5%

## System H with {s} inverter share, synchronous H = {H}?

::: misses
- [any] $H(1 - s)$.
:::
:::

::: check
given: S = 300 | 3000; P = 80 | 800
answer: S/P
tolerance: 0.5%

## SCR: {S} MVA bus, {P} MW plant?

::: misses
- [any] $S_{sc}/P$.
:::
:::

::: check
given: H = 3 | 8; S = 20 | 200; r = 0.1 | 0.6
answer: 2*H*S*r/60
unit: MW
tolerance: 0.5%

## Synthetic inertia power: H = {H} s, {S} MW, {r} Hz/s?

::: misses
- [any] $2HS\dot{f}/f_0$.
:::
:::
:::
