Power (Quick Reference)

Purpose: Fast formula card for capacity, load, and online status. For the full system — units, infusion 96/4, substation connectionCapacity dilution, allocations, and the GridCascade brownout — see energy.md. For workflows (infusing, wiring substations, offline recovery) see the structs-energy skill.


Units

The chain stores power in milliwatts: 1 W = 1,000 chain units, 1 kW = 1,000,000. Player base draw is 25000 = 25 W; 1 ualpha infused = 1 mW, so 1 gram of Alpha = 1 kW. See energy.md — Units.


Core formulas

storedMargin = (capacity + capacitySecondary) - (load + structsLoad)
allocatable  = max(0, capacity - load)
Term Meaning
capacity Your own generation (infusions). The only capacity you can allocate out.
capacitySecondary Received from a substation you’re connected to (its connectionCapacity, computed from 90% of the substation’s incoming power after outgoing load and sharing, capped by nonzero connectionCapacityMaximum). Not re-allocatable.
load Power you’ve allocated out.
structsLoad Player passive draw (25 W) + sum of passiveDraw of your online structs.

If load + structsLoad exceeds capacity + capacitySecondary, the player goes offline and cannot act until load is reduced (deactivate structs) or capacity raised (infuse/agreement). Online is checked per message; recovery actions are never gated. Energy is per-block and ephemeral — idle capacity is waste, not savings. A jailed or missing validator zeros that reactor’s infusion ratio (fuel stays); reactor-restart resyncs after unjail.

The displayed grid fields are stored accounting. The chain’s online check uses usable primary capacity and checks the connected substation; stored totals can lag bounded repairs. A nonnegative storedMargin alone does not prove that a new action will be accepted. The read-only scripts/power-budget.sh reports that exact signed margin at one height, including totals above uint64, and refuses incomplete reads. Use native action preflight and committed results for actual eligibility.


Struct power requirements

Initiate reserves BuildDraw only; complete removes it then applies PassiveDraw. They are sequential, not summed — peak for a type is max(Build, Passive) (equal for all current types). Examples (watts):

Struct BuildDraw PassiveDraw
Ore Extractor 500 W 500 W
Planetary Defense Cannon 600 W 600 W
Ore Bunker 750 W 750 W

Full draws: struct-types.md.


New player power budget

New players usually start with zero personal capacity and rely on capacitySecondary from their guild substation. Cumulative load through the standard onboarding build order:

Item Build Draw Passive Draw Cumulative Load
Player (base) — 25 W 25 W
Command Ship (build) 50 W — 75 W
Command Ship (online) — 50 W 75 W
Ore Extractor (build) 500 W — 575 W
Ore Extractor (online) — 500 W 575 W
Ore Refinery (build) 500 W — 1,075 W
Ore Refinery (online) — 500 W 1,075 W

Worst-case load during onboarding is ~1,075 W (all three structs online plus a build in progress). Minimum viable capacity: ~575 W for player + Command Ship + Ore Extractor online. If the guild substation provides less, activate the Command Ship first, then build one struct at a time.


Power states

Entity Online When
Player The native check finds usable capacity covers load
Struct Native readiness checks pass and usable available capacity covers struct.passiveDraw

False positive: a player on a substation pool can show capacity = 0 while structs run fine — the substation supplies capacitySecondary. Use structsLoad > 0 as the real “functioning” signal, not capacity > 0.


Increasing capacity

Reactor infusion (safe, reversible, you keep ~96% plus a diversity bonus of up to 50% for stake spread across 10+ reactors; paid from your vault), generator infusion (more kW/gram but irreversible and raidable), or buying via an agreement. A substation passes on only 90% of what it receives. Rates, the 96/4 split, the stake cap, and substation distribution are in energy.md.


See Also