TExcelTAD
Home › Power Systems: Three-Phase, Generation, Grids & Protection › The Smart Grid: Metering, DER, IEEE 1547 and Microgrids

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 1515 to 6060 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 44 %44\ \% of nameplate apparent power and absorb up to 25 %25\ \%; Category B must inject and absorb up to 44 %44\ \%. 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 2 s2\ \text{s}.
  • 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.

+0.44-0.440 Q (inject +)V (pu) 0.920.981.021.08 deadband

The figure shows the default volt–var curve of IEEE 1547-2018 for Category B as it is commonly summarised (V1=0.92V_1 = 0.92, V2=0.98V_2 = 0.98, V3=1.02V_3 = 1.02, V4=1.08 puV_4 = 1.08\ \text{pu}, ±0.44\pm 0.44 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 20 %20\ \% load with a 2 MW2\ \text{MW} solar plant (nameplate 2 MVA2\ \text{MVA}) at N4. The substation tap changer was left at 1.03 pu1.03\ \text{pu} to support the morning peak. Without control, N4 rises to 1.056 pu1.056\ \text{pu}.

Find: the reactive power the plant absorbs with the default volt–var curve, and the resulting voltage.

Solve: the curve is linear between 1.021.02 and 1.08 pu1.08\ \text{pu}:

q(V)=−0.44 V−1.021.08−1.02,Q=q(VN4)⋅2 MVAq(V) = -0.44\,\frac{V - 1.02}{1.08 - 1.02}, \qquad Q = q(V_{N4}) \cdot 2\ \text{MVA}

The voltage depends on QQ and QQ on the voltage, so the two are iterated (the Python cell below does it): the plant settles at q=−0.206q = -0.206, absorbing 0.413 Mvar0.413\ \text{Mvar}, and N4 falls to 1.048 pu1.048\ \text{pu}.

Check: a first guess with the uncontrolled voltage, q(1.056)=−0.264q(1.056) = -0.264, overshoots because absorbing QQ lowers VV and with it the demand; the converged point lies between. The feeder's R/X=0.86R/X = 0.86 is high, so reactive power is only moderately effective (ΔV∝PR+QX\Delta V \propto PR + QX) and costs some extra current and loss. On LV cables, where R/XR/X is several times larger, volt–watt curtailment ends up doing more of the work.

In Python: volt–var by fixed-point iteration

python · try it yourself
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 1.00 pu1.00\ \text{pu} the end voltage is just outside the deadband and the plant absorbs a token 78 kvar78\ \text{kvar}; with the high tap setting it absorbs 413 kvar413\ \text{kvar} and pulls N4 back by 0.8 %0.8\ \%, at the cost of about 4.6 kW4.6\ \text{kW} of extra loss (47.3 kW47.3\ \text{kW} at unity power factor, 51.9 kW51.9\ \text{kW} 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 1.11.1 to 1.51.5 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 12.0 V12.0\ \text{V} and a "PV" source at 12.3 V12.3\ \text{V} with its current limit at 0.5 A0.5\ \text{A}) feed a 24 Ω24\ \Omega load through 1 Ω1\ \Omega "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 0.5 A0.5\ \text{A}).

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 Ilim⋅24 ΩI_\text{lim} \cdot 24\ \Omega: that is an island without a grid-forming source large enough. With the values above the load needs 12.3/25=0.49 A12.3/25 = 0.49\ \text{A}, just inside the 0.5 A0.5\ \text{A} limit; set the limit to 0.3 A0.3\ \text{A} to see the collapse (to about 7.2 V7.2\ \text{V} without diodes). Expect readings within ±2 %\pm 2\ \% of the calculation.

Hazards and safe setup. Both supplies ≤13 V\le 13\ \text{V}, current limits ≤1 A\le 1\ \text{A}; 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

  1. A Category B 10 kVA10\ \text{kVA} inverter sees 1.06 pu1.06\ \text{pu}. What reactive power does the default volt–var curve ask for?
  2. Why does volt–var work better on an MV overhead feeder than on an LV cable?
  3. What must happen within 2 s2\ \text{s} if a feeder breaker opens with DER on it?
Answer
  1. q=−0.44⋅(1.06−1.02)/0.06=−0.293q = -0.44 \cdot (1.06 - 1.02)/0.06 = -0.293; it absorbs 2.93 kvar2.93\ \text{kvar}.
  2. The voltage change is roughly (PR+QX)/V(PR + QX)/V: reactive power acts through XX, which is comparable to RR on overhead lines but much smaller than RR on LV cables.
  3. 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…

  1. none
  2. inject 44 %, absorb 25 % of nameplate
  3. inject and absorb 44 % of nameplate
  4. inject and absorb 100 %

The purpose of the abnormal performance (ride-through) categories is to…

  1. make DER disconnect faster
  2. keep DER connected through voltage and frequency disturbances so a transmission fault does not trip large amounts of generation
  3. measure power quality
  4. set tariffs

With a volt–var curve, an inverter at a high-voltage point on the feeder…

  1. injects reactive power
  2. absorbs reactive power to pull the voltage down
  3. increases its active power
  4. disconnects immediately

When a microgrid islands intentionally, at least one source must be…

  1. grid-following
  2. grid-forming, setting voltage and frequency
  3. a diesel engine
  4. a capacitor bank