Power guide

Power is 48 V DC and the server solves the circuit every turn. Nothing is hand-waved: wires have resistance, fuses have ratings, and an unprotected overload explodes.

The pieces

item figures list price
solar_panel 500 W at full sun, 49 V open circuit 450 MT
cable_6, cable_10, cable_25, cable_120 40, 60, 100, 400 A 4, 6, 14, 45 MT
power_station_s, _m, _l 8, 16, 28 slots; 4, 8, 12 robot-cell slots; 2×1, 2×2, 3×2 cells 1 600, 3 400, 6 800 MT
charge_controller MPPT, 150 V maximum PV input, 60 A out (about 3 kW), 97 % 550 MT
battery_48v 5 kWh, charges up to 150 A, discharges up to 250 A 900 MT
bus_bar four pins of one pole, one node 40 MT
fuse_N, breaker_N N = 20, 40, 63, 100, 160, 250, 400 A fuses 12 to 55 MT, breakers 60 to 275 MT

A fuse that blows must be replaced. A breaker trips and can be reset.

A panel is a loop

A panel has its + terminal on the face it points to and its - terminal on the opposite face. Both must reach the station's PV face through cables. One panel, one cable and a station gives nothing: the far pole dangles.

Panels touching end to end are in series, so voltages add. At most 3 in series: a fourth goes over the controller's 150 V. Panels on the same cables are in parallel.

Cables carry a + and a - conductor each. Pieces that touch must agree on polarity (standard or mirrored), or the placement is refused. A + never joins a -.

Station faces

A station faces a direction. With the station facing north:

face side what it does
PV in the side it faces (north) a cable on these cells joins pv+ and pv-
DC out opposite (south) a cable or machine here joins out+ and out-
dock a quarter turn clockwise (east) your robots stand here to charge and swap cells

A cable under the station, or on another face, touches nothing.

Terminals

name meaning
pv+, pv- the station's PV input
out+, out- the station's DC output
sN.bat+, sN.bat- battery in slot N
sN.in+, sN.in-, sN.out+, sN.out- charge controller in slot N
sN.a, sN.b the two ends of a fuse or breaker
sN.1 to sN.4 pins of a bus bar

N counts from 0 in terminal names. The slot numbers of the editor and of the station_edit tool count from 1. The part you put in tool slot: 1 has terminals s0.…. This catches everyone once.

Fuses, breakers and bus bars are placed on a pole (+ or -). Links join two terminals of the same pole with a gauge of 6, 10, 25 or 120 mm².

A station that works

Three panels in series, one battery, a medium station. Parts by slot, as terminals name them:

slot (terminal name) part pole
s0 charge_controller
s1 bus_bar +
s2 bus_bar -
s3 battery_48v
s4 fuse_250 +
s5 breaker_100 +

Links, all 120 mm²:

  1. pv+ to s0.in+, and pv- to s0.in-
  2. s0.out+ to s1.1, and s0.out- to s2.1
  3. s3.bat+ to s4.a, and s4.b to s1.3
  4. s3.bat- to s2.3
  5. s1.2 to s5.a, and s5.b to out+
  6. s2.2 to out-

Outside: cables from both ends of the panel string to the PV face, and cable_25 from the DC out face to your machines. Then commit (arm) the station. Any edit switches it off, so commit again afterwards.

Why the breaker: the battery needs a fuse of at least 250 A, and a fuse rated above a wire it can feed is an error. Without something smaller between the bus and out+, a 100 A output cable behind a 250 A fuse is flagged. The 100 A breaker separates the two. The other way out is cable_120 everywhere.

Machines and robots

Machines (drills, smelters, depots and the rest) are loads: they join cables that touch them, and each other. Loads need at least 42 V. When demand exceeds supply they are shed, the highest priority number first. By default the priority is the structure number, so the newest goes first.

A robot never joins a network by touching a cable. It charges on the dock side of your own station. It can also swap its cells there for charged spares.

Findings and what they mean

finding meaning fix
panel_pole_open a panel pole touches nothing run a cable from that face round to the network
station_pv_open nothing reaches pv+ or pv- put a cable on the PV face cells
cable_under_building a cable lies under a building move it to a face cell
unprotected a battery has no fuse or breaker on + add one
fuse_undersized the fuse in front of a battery is under what the pack gives or takes use at least 250 A
fuse_rating a fuse is rated above a wire it feeds thicker wire, or a smaller breaker between
ampacity a wire can carry more than its rating thicker gauge or a protection that opens first
overvoltage the PV string can exceed 150 V fewer panels in series
unwired (warning) a part has an unconnected terminal link it
controller_limited (warning) the panels offer more than 60 A can pass add a second controller

Errors block commit unless you force it. If you force it and the overcurrent has no protection, the device explodes and hurts every structure and robot in its radius, whoever owns them. Ordered anarchy has no fire department.

Station script

The station runs a script with power_controller: readings(), charge_limits(stop, resume), priority(load, n), shed(load), restore(load). The default sheds half the least important loads when batteries are under 30 % and restores them over 50 %. With a modem in a slot it also gets net, llm and jev.