The Smart Grid: Metering, DER, IEEE 1547 and Microgrids
The classic grid was built for one-way flow: large stations, transmission, distribution, passive customers whose meters were read twice a year. Today a distribution feeder may hold rooftop solar, batteries, heat pumps and electric-vehicle chargers, each with an inverter or a controller that can measure and act in milliseconds. The smart grid is the collection of meters, communications, standards and controls that turns these distributed energy resources (DER) from a problem into a resource. This lesson covers smart metering, the interconnection rules of IEEE 1547-2018 and its European counterparts, inverter voltage support on feeder F11, demand response and microgrids.
Safety: grid-connected inverters, meters and microgrid switchgear are studied here by calculation and simulation only. Never connect a self-built inverter, generator or battery system to a mains supply: grid connection needs approved, certified equipment, a qualified installer and the network operator's consent.
Smart metering
An advanced metering infrastructure (AMI) records energy in intervals of to minutes (often also voltage and power quality), communicates over power-line carrier, radio mesh or cellular links using protocols such as DLMS/COSEM (IEC 62056), and can connect or disconnect a supply remotely. For the network operator, interval data replaces assumptions about LV loading and voltage; for the customer, it enables time-of-use tariffs and demand response. Smart meters also raise privacy and cybersecurity questions: a meter fleet is a large, remotely switchable attack surface, and the IEC 62351 series addresses security of power-system communications.
Interconnection rules: IEEE 1547-2018
IEEE 1547-2018 (Standard for Interconnection and Interoperability of Distributed Energy Resources with Associated Electric Power Systems Interfaces, with amendment IEEE 1547a-2020; conformance tests in IEEE 1547.1-2020) changed the role of DER from "disconnect at the first disturbance" to "support the grid". Its main ideas:
- Normal performance categories A and B (reactive power and voltage regulation). Category A DER must be able to inject reactive power up to of nameplate apparent power and absorb up to ; Category B must inject and absorb up to . Inverter-based DER generally meet Category B.
- Voltage-regulation modes: constant power factor, volt–var (reactive power as a function of local voltage), watt–var, constant reactive power, and volt–watt (active power curtailment at high voltage).
- Abnormal performance categories I, II and III: increasingly demanding ride-through of voltage and frequency disturbances, so that DER do not all trip after a transmission fault and turn a small event into a large loss of generation. Category III, for high-DER areas, is the most demanding.
- Frequency support: frequency–droop (frequency–watt) response, and ride-through of high RoCoF.
- Anti-islanding: an unintentional island (a section that keeps being fed by DER after the utility supply is lost) must be detected and the DER must cease to energise it within .
- Interoperability: a communication interface (IEEE 2030.5, IEEE 1815/DNP3 or SunSpec Modbus) for settings and monitoring.
In Europe the equivalent requirements come from the network code Requirements for Generators (Regulation (EU) 2016/631) and the standards EN 50549-1 and EN 50549-2 (2019) for generators connected to LV and MV distribution networks, with national grid codes setting the numbers. A revision of the RfG ("RfG 2.0", adding grid-forming requirements for inverter-based plant and storage) was published as a draft in July 2026 and had not been adopted as of November 2026.
The figure shows the default volt–var curve of IEEE 1547-2018 for Category B as it is commonly summarised (, , , , of nameplate). Utilities may change the points within ranges the standard allows.
Worked example: volt–var on feeder F11
Given: feeder F11 (Distribution Systems) at load with a solar plant (nameplate ) at N4. The substation tap changer was left at to support the morning peak. Without control, N4 rises to .
Find: the reactive power the plant absorbs with the default volt–var curve, and the resulting voltage.
Solve: the curve is linear between and :
The voltage depends on and on the voltage, so the two are iterated (the Python cell below does it): the plant settles at , absorbing , and N4 falls to .
Check: a first guess with the uncontrolled voltage, , overshoots because absorbing lowers and with it the demand; the converged point lies between. The feeder's is high, so reactive power is only moderately effective () and costs some extra current and loss. On LV cables, where is several times larger, volt–watt curtailment ends up doing more of the work.
In Python: volt–var by fixed-point iteration
import numpy as np
Z = complex(0.30, 0.35) * np.array([2.0, 1.5, 2.0, 1.5])
P = np.array([800, 600, 500, 400]) * 1e3
S_light = 0.2 * (P + 1j * P * np.tan(np.arccos(0.95))) / 3 # 20 % load, per phase
Vn = 11e3 / np.sqrt(3)
S_pv = 2e6 # nameplate (VA)
def sweep(S, Vs):
V = np.full(4, Vs, complex)
for _ in range(100):
I = np.conj(S / V); Ib = np.cumsum(I[::-1])[::-1]
Vnew, prev = np.empty(4, complex), Vs
for k in range(4):
prev = prev - Z[k] * Ib[k]; Vnew[k] = prev
if np.max(np.abs(Vnew - V)) < 1e-6:
return Vnew, 3 * np.sum(np.abs(Ib)**2 * Z.real)
V = Vnew
def volt_var(v): # IEEE 1547 Cat B default curve
return float(np.interp(v, [0.92, 0.98, 1.02, 1.08], [0.44, 0.0, 0.0, -0.44]))
for Vsub in (1.00, 1.03):
S = S_light.copy(); S[3] -= S_pv / 3 # PV at unity power factor
V, loss = sweep(S, Vsub * Vn)
v_free = abs(V[3]) / Vn
q = 0.0
for _ in range(100): # damped fixed point
S = S_light.copy(); S[3] -= (S_pv + 1j * q * S_pv) / 3
V, loss = sweep(S, Vsub * Vn)
q = 0.5 * q + 0.5 * volt_var(abs(V[3]) / Vn)
print(f"substation {Vsub:.2f} pu: N4 {v_free:.4f} pu at unity pf -> {abs(V[3])/Vn:.4f} pu "
f"with volt-var (Q = {q*S_pv/1e6:+.3f} Mvar), losses {loss/1e3:.1f} kW")substation 1.00 pu: N4 1.0269 pu at unity pf -> 1.0253 pu with volt-var (Q = -0.078 Mvar), losses 50.5 kW
substation 1.03 pu: N4 1.0562 pu at unity pf -> 1.0482 pu with volt-var (Q = -0.413 Mvar), losses 51.9 kW
The function only acts where needed: with the substation at the end voltage is just outside the deadband and the plant absorbs a token ; with the high tap setting it absorbs and pulls N4 back by , at the cost of about of extra loss ( at unity power factor, with volt–var).
Demand response, aggregation and microgrids
Demand response shifts or sheds flexible load (water heaters, heat pumps with thermal storage, EV charging, industrial processes) in response to prices or operator signals. An aggregator bundles many small DER and loads into a virtual power plant that can bid into markets (Energy Markets), and a DERMS (DER management system) at the distribution operator coordinates their setpoints with feeder limits.
A microgrid is a group of loads and DER with defined electrical boundaries that can run connected to the grid or intentionally islanded. At the point of common coupling a switch separates it; at least one source must then become grid-forming (set voltage and frequency itself, like a synchronous machine) while the rest follow. Microgrid control must handle the transition, frequency and voltage regulation with little inertia, and protection that still works when fault currents from inverters are only about to times rated, far below what overcurrent relays expect (Overcurrent Relays). Substation automation and microgrid controllers commonly exchange data with IEC 61850.
Guided lab: a DC microgrid on the bench
Hand calculation. Two current-limited supplies (a "grid" at and a "PV" source at with its current limit at ) feed a load through "cables" each. Predict the load voltage and each source's share (solve the two-node network; the PV supply runs into its current limit when it tries to supply more than ).
Simulation. Enter the network in the netlist lab (DC); model the current-limited source as a current source when it is in limit.
What you would measure. Disconnect the "grid" supply (open its lead): the "PV" supply alone now carries the load. If its current limit is below what the load needs, the voltage collapses to : that is an island without a grid-forming source large enough. With the values above the load needs , just inside the limit; set the limit to to see the collapse (to about without diodes). Expect readings within of the calculation.
Hazards and safe setup. Both supplies , current limits ; a supply that cannot sink current must not be back-fed (put a series diode in each source lead and include its drop in the calculation).
Pitfalls
- Assuming DER trip on every disturbance. Under IEEE 1547-2018 Category II/III they must ride through; protection and planning studies must model that.
- Volt–var with the wrong sign convention. Check whether a setting is "injection positive" or "absorption positive" before loading it into a fleet.
- Islanding by accident. Anti-islanding protects line workers; intentional islanding needs a designed, protected microgrid.
- Treating the meter as a protection device. Smart meters measure and may disconnect, but do not replace fuses and RCDs.
Practice
- A Category B inverter sees . What reactive power does the default volt–var curve ask for?
- Why does volt–var work better on an MV overhead feeder than on an LV cable?
- What must happen within if a feeder breaker opens with DER on it?
Answer
- ; it absorbs .
- The voltage change is roughly : reactive power acts through , which is comparable to on overhead lines but much smaller than on LV cables.
- Every DER on the de-energised section must detect the island and cease to energise it (IEEE 1547-2018).
Test yourself
IEEE 1547-2018 normal performance Category B requires reactive capability of…
- none
- inject 44 %, absorb 25 % of nameplate
- inject and absorb 44 % of nameplate
- inject and absorb 100 %
The purpose of the abnormal performance (ride-through) categories is to…
- make DER disconnect faster
- keep DER connected through voltage and frequency disturbances so a transmission fault does not trip large amounts of generation
- measure power quality
- set tariffs
With a volt–var curve, an inverter at a high-voltage point on the feeder…
- injects reactive power
- absorbs reactive power to pull the voltage down
- increases its active power
- disconnects immediately
When a microgrid islands intentionally, at least one source must be…
- grid-following
- grid-forming, setting voltage and frequency
- a diesel engine
- a capacitor bank