/power-engineering:power-ac-fundamentals-generation-and-gridfrom power-engineering
Covers AC power fundamentals, generation technologies, and transmission/distribution for software engineers working on grid-scale power systems. Explains real/reactive/apparent power, three-phase, frequency as balance signal, per-unit system, and voltage levels.
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 1 of 5 of the Power Engineering reference (plugin
power-engineering), covering §0–§3. Sibling skills:power-system-analysis-and-protection(§4–§5),power-scada-ems-and-protocols(§6–§7),power-inverters-storage-markets-and-datacenters(§8–§12),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).
- ⚠️ 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).
- ⚠️ 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).
| You want... | Go to |
|---|---|
| AC power fundamentals | §1 |
| Generation | §2 |
| Transmission and distribution | §3 |
| Power system analysis | §4 → power-system-analysis-and-protection |
| Protection and relaying | §5 → power-system-analysis-and-protection |
| SCADA / EMS / DMS | §6 → power-scada-ems-and-protocols |
| Protocols | §7 → power-scada-ems-and-protocols |
| Inverters, renewables, inertia | §8 → power-inverters-storage-markets-and-datacenters |
| Storage | §9 → power-inverters-storage-markets-and-datacenters |
| Markets and dispatch | §10 → power-inverters-storage-markets-and-datacenters |
| Writing grid software | §11 → power-inverters-storage-markets-and-datacenters |
| Datacenter power | §12 → power-inverters-storage-markets-and-datacenters |
| Anti-patterns | §13 → power-reference |
| Numbers | §14 → power-reference |
| What actually moved | §15 → power-reference |
| Books | §16 → power-reference |
| Quick reference | §17 → power-reference |
Transformers. ⚠️ You can change AC voltage almost losslessly, and you cannot easily
do that with DC. Since P_loss = I²R, transmitting at high voltage means low current
for the same power, and losses fall with the square of the current. ⚠️ This single
fact is why the grid exists in the form it does.
⚠️ HVDC is the modern exception — better for very long distances, undersea cables, and connecting asynchronous systems, because power electronics made the conversion practical.
S = P + jQ S apparent (VA) · P real (W) · Q reactive (VAr)
|S| = √(P² + Q²)
Power factor PF = P/|S| = cos θ ⚠️ θ is the angle between voltage and current
Real power P does work — heat, torque, light.
⚠️ Reactive power Q is energy sloshing back and forth between source and the
magnetic/electric fields of inductive and capacitive loads. It does no net work over a
cycle — but it occupies current-carrying capacity, causes I²R losses, and is what holds
voltage up.
⚠️ GOTCHA — "reactive power is wasted" is wrong and leads to bad engineering. The grid needs reactive power to magnetize motors and transformers and to support voltage. ⚠️ The real issue is where it's supplied from. Reactive power doesn't transmit well over distance — it causes losses and voltage drop on the way. So it's generated locally: capacitor banks, synchronous condensers, STATCOMs, and increasingly inverters (§8 →
power-inverters-storage-markets-and-datacenters). Frequency is a system-wide quantity; voltage is a local one, and that asymmetry follows directly from this.
⚠️ Poor power factor costs money — industrial customers are billed for it, because a 0.7 PF load draws ~43% more current than a unity-PF load for the same real power, and the utility must build for the current.
Three voltages 120° apart. ⚠️ Why it dominates: constant instantaneous total power (a single-phase supply pulsates at twice line frequency), rotating magnetic field for free (which is why induction motors work), and less conductor material for the same power.
Wye (Y): V_line = √3 × V_phase, I_line = I_phase ⚠️ has a neutral
Delta (Δ): V_line = V_phase, I_line = √3 × I_phase ⚠️ no neutral
P_3φ = √3 × V_line × I_line × cos θ
⚠️ In a balanced system the neutral current is zero — the three phases cancel. Under imbalance it isn't, and harmonic currents (particularly triplen harmonics from switch-mode power supplies) add rather than cancel in the neutral — ⚠️ which is why datacenter and office neutrals can carry more current than the phases, and why undersized neutrals overheat.
Symmetrical components (Fortescue, 1918) — ⚠️ decompose any unbalanced three-phase
set into positive, negative, and zero sequence components. This is the mathematical
foundation of fault analysis (§4.3 → power-system-analysis-and-protection) and protection (§5 → power-system-analysis-and-protection), and it turns an intractable
unbalanced problem into three balanced ones.
The grid stores essentially no energy. Generation must match load instantaneously.
power-inverters-storage-markets-and-datacenters).RoCoF (rate of change of frequency) is set by the imbalance divided by system
inertia. ⚠️ Less inertia means faster collapse from the same disturbance, which is
the entire §8 → power-inverters-storage-markets-and-datacenters problem.Frequency control hierarchy:
Inertial response ⚠️ instantaneous, physics, no control loop — spinning mass
Primary (governor) seconds — droop control, arrests the fall
Secondary (AGC) ⚠️ ~minutes — restores to 60/50 Hz and fixes interchange
Tertiary economic redispatch (§10)
⚠️ Droop is deliberate: a generator's speed setpoint falls with output (typically 4–5%), so multiple machines share load automatically without communicating. It's a proportional controller implemented in physics, and the reason a grid works at all without central coordination in the first seconds.
Normalize everything to a base: pu = actual/base. ⚠️ Why it's universal in power
engineering: transformer turns ratios vanish, values across voltage levels become
directly comparable, and equipment impedances land in predictable ranges regardless of
size. ⚠️ If you write power system software and don't understand per-unit, every number
you handle will confuse you.
| Type | Character | ⚠️ Grid role |
|---|---|---|
| Coal / gas steam | Synchronous, slow ramp | ⚠️ Provides inertia; being retired |
| Gas turbine (CT/CCGT) | Synchronous, fast ramp | ⚠️ The flexibility workhorse |
| Nuclear | Synchronous, baseload | Inertia; economically inflexible |
| Hydro | ⚠️ Synchronous, very fast, storable | Inertia, black start, regulation |
| Wind | ⚠️ Inverter-interfaced | Variable; §8 → power-inverters-storage-markets-and-datacenters |
| Solar PV | ⚠️ Inverter-interfaced, no rotating mass | Variable; §8 → power-inverters-storage-markets-and-datacenters |
| Battery | ⚠️ Inverter-interfaced, bidirectional | Fast response; §9 → power-inverters-storage-markets-and-datacenters |
⚠️ The distinction that matters more than fuel type is synchronous vs inverter-interfaced.
A synchronous machine is electromechanically coupled to grid frequency — its physics
resists change and it contributes fault current and inertia automatically. An inverter
does whatever its control software says, which is both the opportunity and the problem
(§8 → power-inverters-storage-markets-and-datacenters).
Black start — ⚠️ restarting a dead grid requires units that can start without external power (hydro, some diesel/gas). A grid with no black-start capability cannot recover from a full collapse, which is why it's a contracted service.
Generation (~15–25 kV) → step-up → TRANSMISSION (115–765 kV)
→ substation → SUBTRANSMISSION (34.5–138 kV) → DISTRIBUTION (4–35 kV)
→ service transformer → CUSTOMER (120/240 V, 480 V, ...)
Transmission is a meshed network (⚠️ redundant paths — a single failure shouldn't
cause an outage; this is the N−1 criterion). Distribution is usually radial —
⚠️ simple and cheap, and a fault upstream takes out everything downstream, which is
why distribution automation and reconfiguration matter.
Key equipment: transformers (⚠️ the long-lead-time bottleneck item — see §15.2 → power-reference),
circuit breakers, reclosers (⚠️ most distribution faults are temporary — a branch,
an animal — so reclosers trip and re-close automatically, which is why your lights blink
rather than going out), switches, capacitor banks, voltage regulators, and the
protective relays of §5 → power-system-analysis-and-protection.
⚠️ Line limits are not one number. Thermal (conductor sag — ⚠️ a sagging line contacting vegetation is a documented blackout initiator), voltage drop, and stability limits — and for long lines the stability limit binds well before the thermal limit. Dynamic line rating uses real weather to reclaim capacity that static ratings leave on the table.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
power-engineering, ac-power, grid, transmission, distribution, generation
5 skills in this plugin
/power-inverters-storage-markets-and-datacentersUse when working on the modern grid: inverters, renewables and the inertia problem including grid-following versus grid-forming and other inverter-based-resource realities, storage technologies and their roles, markets and dispatch, writing grid software including the character of the domain and why OT security is not IT security, and datacenter power from the facility down to what software engineers actually control./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