/power-engineering:power-system-analysis-and-protectionfrom power-engineering
Provides power system analysis methods (Newton-Raphson power flow, state estimation, fault analysis, symmetrical components, stability) and protection/relaying concepts (zones, coordination, relay types, settings reasoning). Useful for grid-scale electrical engineering work.
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 2 of 5 of the Power Engineering reference (plugin
power-engineering), covering §4–§5. Sibling skills:power-ac-fundamentals-generation-and-grid(§0–§3),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 →
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).
⚠️ The fundamental calculation of the field: given generation and load, find all bus voltages and line flows.
Bus types: Slack (V, θ fixed — absorbs the mismatch)
PV (P, |V| specified — generators)
PQ (P, Q specified — loads)
⚠️ It's a nonlinear system solved iteratively — Newton-Raphson is the standard, with fast-decoupled variants exploiting the physical fact that ⚠️ P is strongly coupled to angle and Q to voltage magnitude. DC power flow linearizes it (⚠️ ignoring reactive power and losses — fast enough for market clearing, and wrong for voltage studies).
⚠️ Convergence failure is meaningful, not just numerical: a power flow that won't converge often indicates a genuinely infeasible operating point — voltage collapse territory — rather than a bad initial guess. Don't just relax the tolerance.
⚠️ The measurement layer under everything in §6 → power-scada-ems-and-protocols. Redundant, noisy SCADA measurements
are fitted to the network model by weighted least squares, producing the best estimate
of the actual system state and flagging bad data.
⚠️ The control room does not act on raw telemetry; it acts on the state estimate.
PMUs (phasor measurement units) give GPS-time-synchronized voltage and current
phasors at 30–120 Hz, enabling direct wide-area observation.
Short circuits — bolted three-phase, line-to-ground (⚠️ most common), line-to-line,
double-line-to-ground. Analyzed with symmetrical components (§1.3 → power-ac-fundamentals-generation-and-grid).
⚠️ You need fault current magnitudes for two reasons: to size breakers with adequate
interrupting capacity, and to set the relays of §5. ⚠️ Inverter-based resources
break both assumptions — see §8 → power-inverters-storage-markets-and-datacenters.
Rotor angle stability ⚠️ do generators stay in synchronism after a disturbance?
transient (large disturbance, first swing, ~seconds)
small-signal (oscillatory modes, damping)
Frequency stability does frequency stay in bounds? (§1.4)
Voltage stability ⚠️ can the system sustain voltage? Collapse is a real,
fast, and historically catastrophic failure mode
⚠️ The critical clearing time — how fast a fault must be removed for the system to remain stable — is why protection speed (§5) is a stability requirement, not just an equipment-protection one.
⚠️ The fastest and highest-stakes software in the power system.
The requirements are in tension: speed (limit damage, preserve stability), selectivity (⚠️ trip only the faulted element — coordination), sensitivity (detect every real fault), and security (⚠️ don't trip for anything else). ⚠️ Dependability and security trade against each other directly, and the choice is a deliberate engineering decision, not a default.
Relay types by ANSI device number:
50 instantaneous overcurrent 51 time overcurrent ⚠️ inverse-time curves
27 undervoltage 59 overvoltage
81 under/over frequency ⚠️ 81R rate-of-change (RoCoF) — see §8
87 differential ⚠️ compares current in vs out — the gold standard for transformers,
buses and generators; inherently selective
21 distance (impedance) ⚠️ the transmission workhorse; zones of reach
25 synchronism check 67 directional overcurrent 79 reclosing
⚠️ Coordination means the device nearest the fault operates first, with upstream devices delayed enough to let it. Time-current curves must not cross, and coordination studies are redone whenever the system changes.
⚠️ GOTCHA — protection assumes large, predictable fault current from synchronous machines, and inverters violate that assumption. ⚠️ An inverter typically limits fault current to roughly 1.1–2× rated — because the semiconductors cannot survive more — whereas a synchronous generator delivers many times rated current. Consequences: overcurrent relays may not see the fault at all; directional elements can misoperate because inverter fault current has a controlled, software-defined phase angle rather than a physical one; and fault type classification becomes unreliable. ⚠️ This is an active research problem, not a solved one.
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-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.Other plugins' skills for the same job
/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.npx claudepluginhub the-vibey-project/vibey --plugin power-engineering