/power-engineering:power-inverters-storage-markets-and-datacentersfrom power-engineering
Covers grid-scale power engineering: inverter-based resources, grid-following vs grid-forming, storage technologies, energy markets and dispatch, OT security differences from IT security, and datacenter power from facility to software control.
Ships in power-engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Part 4 of 5 of the Power Engineering reference (plugin
power-engineering), covering §8–§12. Sibling skills:power-ac-fundamentals-generation-and-grid(§0–§3),power-system-analysis-and-protection(§4–§5),power-scada-ems-and-protocols(§6–§7),power-reference(§13–§18). Section numbers are shared across the set; a reference written as §N →skillpoints into that sibling skill.Currency: Circuit theory and power system analysis are settled; the inverter-dominated grid and datacenter load growth moved fast. See §15 →
power-referencefor both, dated.
Scope. Complements an electrical-engineering reference, which is circuit-level — components, op-amps, PCB layout, signal integrity. ⚠️ This is grid scale: kilovolts and megawatts, and the software that runs it.
⚠️ GOTCHA boxes mark what kills people, destroys equipment, or causes blackouts.
The three ideas that organize the whole field:
- ⚠️ Generation must equal load, continuously, everywhere. The grid stores almost nothing. Frequency IS the balance signal — it falls when load exceeds generation and rises when it doesn't, in real time, across a continent (§1.4 →
power-ac-fundamentals-generation-and-grid).- ⚠️ Reactive power is not "wasted" power — it's a separate commodity that must also balance, and it's local. Real power flows across a system; reactive power doesn't travel well, so voltage is a local problem and frequency is a global one (§1.2 →
power-ac-fundamentals-generation-and-grid).- ⚠️ Protection is the fastest software in the system and it acts on trust. A relay decides in milliseconds to disconnect equipment, and it must be right — a false trip causes an outage, a missed trip destroys equipment or kills someone (§5 →
power-system-analysis-and-protection).
⚠️ This is the defining engineering transition in power systems, and it is not primarily about intermittency — it's about the loss of physics-based stabilization.
A synchronous generator's rotating mass stores kinetic energy that opposes frequency change automatically. ⚠️ As one source puts it well: the beauty of that system was its simplicity — the stored rotational energy required no control systems, no communication networks, and no human intervention.
⚠️ Replace those machines with inverter-based resources (IBRs) and that mechanical buffer disappears. Documented consequences:
power-system-analysis-and-protection) and can cause grid-following inverters to lose synchronization
entirely.⚠️ The distinction to understand:
⚠️ Control approaches: droop, virtual synchronous machine (VSM) / virtual synchronous generator control, and adaptive inertia injection with virtual damping — which points at something conceptually important: ⚠️ future grids may be intentionally designed around the fast, programmable response of GFM inverters rather than trying to replicate rotating-machine dynamics. Stability through software-defined control rather than inertia-heavy mechanical systems.
⚠️ GOTCHA — GFM inverters are not the silver bullet they're sometimes presented as, and the deployment evidence is sobering. ⚠️ In the UK's Stability Pathfinder procurement rounds, GFM inverters were largely unsuccessful in winning contracts — only around 12% of the UK's contracted inertia will be met by GFM inverters by 2026, with the rest going to synchronous machines, dominated by synchronous condensers. ⚠️ A synchronous condenser is a spinning machine that generates no power — it exists purely to provide inertia and reactive support. The market's revealed preference has been to add back rotating mass. Germany's 2026 market-based inertia procurement, which differentiates remuneration by technology type, may produce a different answer — and it's genuinely uncertain whether GFM remuneration will be sufficient.
Curtailment, the duck curve (⚠️ midday solar depresses net load, then a steep evening ramp — the ramp rate is the operational problem, not the energy), forecasting as a first-class operational input, and ⚠️ hosting capacity limits on distribution feeders — reverse power flow from rooftop solar breaks assumptions built into voltage regulation and protection.
⚠️ Standards are catching up: IEEE 1547 for DER interconnection, IEEE 2800 for transmission-connected IBRs, and NERC guideline revision work explicitly addressing IBR fault performance. ⚠️ Interconnection requests in 2026 increasingly ask whether equipment is grid-forming capable.
| Technology | Duration | ⚠️ Notes |
|---|---|---|
| Li-ion BESS | ⚠️ ~1–4 h | Dominant; fast, and duration-limited |
| Pumped hydro | 8–24 h+ | ⚠️ ~95% of world storage capacity; geography-limited |
| Flow batteries | 4–12 h | Decoupled power and energy |
| Compressed air, thermal | Long | Niche |
| Hydrogen | Seasonal | ⚠️ Poor round-trip efficiency |
⚠️ Batteries are inverter-interfaced (§8), which means their grid services are a software question: frequency regulation (⚠️ the highest-value early application, because they're faster than any generator), energy arbitrage, capacity, synthetic inertia via GFM control, black start, and T&D deferral.
⚠️ The one that matters for software: state of charge is a hard constraint that couples decisions across time. A battery dispatched greedily for regulation revenue can be empty when the capacity obligation lands. Every storage optimization is a temporal one, and cycling degrades the asset — so the objective function has to include degradation cost or it will destroy the battery profitably.
Unit commitment — ⚠️ which units to turn on over the next day, a mixed-integer
program with minimum up/down times and startup costs.
Economic dispatch — how much from each committed unit, continuously.
Optimal power flow (OPF) — ⚠️ dispatch subject to the physical network constraints of
§4.1 → power-system-analysis-and-protection. AC OPF is non-convex and hard; DC OPF is what most markets actually clear on.
LMP (locational marginal price) decomposes into energy + congestion + losses — ⚠️ which is why prices differ between buses, and why congestion is visible as a price signal rather than only as an engineering limit. Negative prices occur when must-run generation and inflexible renewables exceed load.
Market structure: day-ahead and real-time, ancillary services (regulation, spinning and non-spinning reserve, voltage support, black start — ⚠️ and increasingly inertia, §8.2), and capacity markets.
⚠️ For a software engineer, the notable property: this is a large-scale optimization running on a schedule with hard deadlines and real money attached. ⚠️ A market clearing that doesn't converge in time is an operational emergency, not a failed job.
⚠️ Timescales span twelve orders of magnitude, and which one you're in dictates everything:
µs–ms protection, GOOSE, sampled values ⚠️ hard real-time, safety-critical
ms–s inverter control, AGC
s–min SCADA, state estimation
min–h dispatch, markets
h–yr planning
⚠️ Reliability expectations are extreme: control-room systems target very high availability, field devices run for 20+ years, and the cost of a wrong answer is measured in outages and lives. This is much closer to avionics and automotive practice (see those references) than to web engineering.
NERC CIP in North America is a mandatory, auditable, fineable standard covering asset identification, security management, personnel and training, electronic security perimeters, physical security, system security management, incident response, recovery, configuration change management, and supply chain risk. ⚠️ The OT/IT differences that catch software engineers out:
power-scada-ems-and-protocols) mean network position is
authorization, which is exactly why segmentation carries the load.power-scada-ems-and-protocols natively.Testing: simulation against a network model, hardware-in-the-loop with real relays
(⚠️ real-time digital simulators are standard for protection validation), replay of
recorded disturbances, and model validation against actual event data — ⚠️ which is
where a lot of models are found wanting after a real disturbance.
Tools: PSS/E, PowerWorld, PSCAD/EMTP (⚠️ electromagnetic transient simulation —
required for inverter control studies, because phasor-domain tools miss the fast
dynamics), OpenDSS and GridLAB-D (distribution), PYPOWER, pandapower, PowerModels.jl,
MATPOWER (⚠️ the open research stack), GridPACK, Grid2Op for RL work.
Data: CIM (§7 → power-scada-ems-and-protocols), historians, PMU archives, and ⚠️ an obsession with time
synchronization — PTP/IEEE 1588 and GPS, because sequence-of-events analysis after a
disturbance depends entirely on trustworthy timestamps.
⚠️ The part of this document most software engineers will actually touch — and the
industry has crossed a threshold where compute demand is now a first-order power system
problem (§15.2 → power-reference).
Utility feed → transformer → switchgear → UPS → PDU → rack PDU → PSU → server
↕ ↕
generator battery/flywheel
Redundancy notation: N (no redundancy), N+1, 2N (⚠️ fully duplicated), 2N+1. Tier I–IV (Uptime Institute) — ⚠️ Tier III is concurrently maintainable, Tier IV is fault tolerant, and the distinction is whether a single failure during maintenance takes you down.
UPS topologies: double-conversion (⚠️ best isolation, worst efficiency), line- interactive, and eco/multi-mode which bypasses conversion when input is clean. Generators for extended outages (⚠️ and the fuel contract is the real constraint, not the generator).
⚠️ PUE (Power Usage Effectiveness) = total facility power / IT equipment power. 1.0 is perfect; hyperscale runs near 1.1; older enterprise 1.5–2.0.
⚠️ GOTCHA — PUE measures facility overhead, not useful work. ⚠️ A facility at PUE 1.05 running inefficient inference wastes more energy per useful output than a facility at higher PUE running efficient workloads. PUE cannot see software efficiency at all, which is why "tokens per watt" style metrics are the ones that matter to the people reading this. Optimizing PUE while ignoring compute efficiency is optimizing the denominator you don't control.
⚠️ Rack density is the current design driver — modern AI racks reach ~140 kW, against a traditional ~5–15 kW, which is why liquid cooling moved from exotic to standard. ⚠️ Air cooling runs out well below current GPU rack densities.
Levers that are actually software decisions:
power-reference).What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/power-ac-fundamentals-generation-and-gridUse when getting the basics of an electric power system right: why AC won, real, reactive and apparent power and the distinction software people most often get wrong, three-phase, frequency as the balance signal, the per-unit system, generation technologies and their characteristics, and transmission and distribution including voltage levels, topology and losses. Includes the router for the whole power-engineering reference./power-referenceUse when checking a power-engineering anti-pattern, looking up a voltage, rating or system value, asking what actually moved (the inverter-dominated grid and datacenter load growth, verified August 2026), finding the books, or needing a picker and the orientation questions to ask before starting grid software work. Companion to the other power-engineering skills.Other plugins' skills for the same job
/power-scada-ems-and-protocolsUse when integrating with grid control systems: SCADA, energy management systems and distribution management systems and what each actually does, and the protocols including DNP3, IEC 61850, IEC 60870-5 and Modbus with their data models, timing and security characteristics.npx claudepluginhub the-vibey-project/vibey --plugin power-engineering