power-ac-fundamentals-generation-and-grid
Use 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.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 5
- Forks
- 3
01 前言 Front Matter
- name
- power-ac-fundamentals-generation-and-grid
- description
- Use 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.
03 SKILL.md 正文
Power Engineering: AC Power Fundamentals, Generation, and Transmission and Distribution
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).
§0. Routing
| 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 |
§1. AC Power Fundamentals
1.1 Why AC won
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.
1.2 ⚠️ Real, reactive, and apparent power — the concept software people get wrong
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.
1.3 Three-phase
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.
1.4 ⚠️ Frequency as the balance signal
The grid stores essentially no energy. Generation must match load instantaneously.
- Load exceeds generation → generators decelerate → frequency falls.
- The kinetic energy in spinning masses buys you seconds — this is inertia (§8 →
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-datacentersproblem.
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.
1.5 Per-unit
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.
§2. Generation
| 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.
§3. Transmission and Distribution
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.
04 同仓库更多 Skills
white-paper-writing
Use when writing white papers, technical reports, policy documents, thought leadership pieces, or any long-form authoritative document. Triggers on requests to write, structure, outline, or review white papers, technical reports, position papers, policy briefs, or evidence-driven arguments. Also use for B2B content marketing strategy, technical documentation requiring authority, academic-style reports, or any document that must educate while persuading. Use when someone asks "how should I structure this" for a long-form document.
prose-technical-mechanics
Use when editing or writing prose at a technical/mechanical level: choosing between Anglo-Saxon and Latinate diction, placing information in topic vs stress positions, writing periodic vs cumulative sentences, handling sentence rhythm, punctuation as logic, transitions, paragraph structure, or phonesthetics. Use when someone wants to understand WHY prose works or doesn't, not just surface-level style advice. Triggers on word choice, sentence structure, emphasis, rhythm, diction, or any deep writing mechanics question.
prose-mechanics
Use when writing, editing, or analyzing prose style; when trying to avoid generic AI-sounding writing; when applying specific prose styles such as journalistic, academic, narrative, KJV biblical, Hemingway plain, Latinate/Jamesian, Orwellian, Augustan, Victorian, Early Modern (Bacon, Browne, Milton), or free indirect discourse; or when coaching someone on writing voice and mechanics. Triggers on any request to improve, analyze, or write in a specific prose style, to fix "AI-sounding" writing, to make prose more vivid or concrete, to vary sentence rhythm, or to understand how a particular writer achieves their effects.
narrative-structure
Use when structuring stories, pitches, presentations, white papers, or any persuasive narrative; analyzing the hero's journey in fiction or non-fiction; applying StoryBrand for business communication; designing narrative arcs for thought leadership; or understanding Vogler, Snyder, Propp, or Campbell frameworks. Triggers on any narrative structure, storytelling, pitch structure, StoryBrand, hero's journey, three-act structure, Freytag, Save the Cat, narrative arc, or "how should I structure this story/pitch/presentation" request.
legal-brief-writing
Use when writing legal briefs, motions, or any court filing; when analyzing judicial cognition and persuasion; when applying elite brief-writing techniques from Roberts, Clement, Kagan, Garner; or when structuring legal arguments for maximum persuasion. Also use for autistic/neurodivergent advocates who need to understand how their natural communication style maps to elite legal advocacy. Triggers on any legal writing, brief drafting, motion preparation, or legal argument structuring request.
journal-publishability-criteria
Use whenever a research paper, article or preprint is being written, revised, reviewed or published, and specifically before every publication of docs/paper.md. Covers what legitimate journals actually gate on, in order of gating — the editor's desk screen (scope, novelty, package problems), what reviewers judge (methodological soundness, claims the evidence can carry, statistical and qualitative reporting), EQUATOR reporting guidelines, the ICMJE authorship criteria, COPE's view of text recycling, the near-universal generative-AI policy (no AI author, disclosure, author responsibility), TOP 2025 transparency standards, how to verify a journal is legitimate, submitting without an institution, and a pre-submission checklist. Triggers on requests to evaluate, review, prepare or submit a paper, to judge publishability, to write a declarations or data-availability section, to disclose AI use, or to check a journal.