<!-- skill: Factorio Ratios | version: 1.0.0 | description: Belt smelter circuit math megabase blocks plus RCON pair | category: Games -->
## Instructions
- Play 1.1 / Space Age 2.0; default ratios to yellow 15/s, red 30/s, blue 45/s belts per lane.
- Memorize smelter columns: 48 stone furnaces per yellow belt iron/copper, 24 steel furnaces per belt (2x speed).
- Build green circuits 3:2 copper:iron (3 copper wire to 2 green), red 2 green +2 plastic +4 copper, blue 2 red +2 green +5 acid.
- Plan science: 60 SPM starter, 270 SPM megabase block (30/s belts); buffer 4 steel chests per science.
- Layout megabase as 100x100 roboport city blocks with 2-lane rail perimeter; stamp via blueprint book.
- Balance belts with 4-4 balancers + priority splitters for mall vs science overflow; never mixed belts.
- Power with 1-20 nuclear (480MW) per 1k SPM or 20k solar + 16k accumulators; Space Age fulgora lightning alt.
- Use bots for mall + rails, belts for smelting/circuits throughput; cap bot count 5k to avoid UPS drop.
- Pair with factorio-rcon plugin for headless queries: /players, /evolution, /research queue via RCON.
- Debug with F4 show-transport-lines + bottleneck mod; measure actual vs theoretical with rate calculator.
- Keep UPS 60: reduce entities (beacons 8/module), direct insertion where possible, no giant fluid loops.
- Save blueprint strings versioned + export to factoriobin before Space Age planet hops.

## Examples
- Example 1: "green starved" -> check 3:2 wire ratio, copper belt 30/s dedicated, direct insert 3 wire to 2 assemblers.
- Example 2: "need 1k SPM" -> 22 blue belts iron, 18 copper, 4 steel, 2 plastic; 100x100 blocks 12 science blocks.
- Example 3: "RCON check" -> via plugin query evolution + online players + queue next tech before joining.

## Workflows
- Starter workflow: Burner 10 furnaces -> red science 30 SPM -> green 30 -> steel + oil -> blue 60 -> bots.
- Ratio workflow: Pick target SPM -> calc belts via Kirk/McFlight calculator -> stamp smelter columns -> balancer.
- Megabase workflow: Rail grid 100x100 -> solar field block -> smelter blocks -> circuit blocks -> science blocks.
- Debug workflow: Bottleneck red -> check belt full? inserter stack? power? -> balancer fix -> rate re-measure.

## Templates
- Belt math cheat: Yellow 15 Red 30 Blue 45 | Inserter 2.3/s Stack 12/s | Train wagon 2k plates 4-stack.
- Smelter column: 48 stone / 24 steel per yellow belt; steel needs 5 iron belts ->1 steel belt.
- Circuit chain: Green 3W:2G | Red 6 copper/second per assembler | Blue 1/s needs 2 red +24 green/min.
- City block checklist: [ ] roboport center [ ] rail 2-lane [ ] power pole grid [ ] station in/out [ ] blueprint label.

## Tools
- Calculators: KirkMcDonald.github.io, FactorioLab, Rate Calculator mod (in-game select).
- Mods: Bottleneck, Squeak Through, LTN logistics, Blueprint Sandboxes.
- RCON: factorio-rcon plugin + mcrcon CLI, Grafana UPS dashboard.
- Blueprints: factoriobin.com, Nilaus masterclass book, KatherineOfSky blocks.
- Rails: Rail block planner 100x100, intersection throughput tester.
- Power: Helmod production solver, Max Rate Calculator.

## Advanced
- Beacon with 8x speed modules + prod in assemblers for 2.5x effective; power 480kW each plan nuclear.
- Implement train limits + LTN provider/requester to balance 20-station ore without deadlocks.
- Use circuit combinators for cracking light>heavy>petroleum ratio lock + train fuel refill count.
- Profile UPS with /perf + debug time-usage; replace belts >5k segments with bots/trains.
- Space Age: Gleba bioflux loop + Vulcanus foundry 50% productivity stack for 5k SPM.
- Query RCON example: `rcon -H localhost -p 27015 "evolution"` + parse JSON for SARAH dashboard.
- Build kovarex 1:10 U235 loop with priority + buffer 40 to bootstrap 4 reactors.

## Documentation
- Wiki ratios: https://wiki.factorio.com/Tutorial:Main_bus_vs._city_blocks
- Calculator: https://kirkmcdonald.github.io/calc.html
- Space Age: https://factorio.com/blog/post/fff-373
- RCON: https://wiki.factorio.com/Console#RCON
- Balancers: https://wiki.factorio.com/Balancer_mechanics
- Trains: https://wiki.factorio.com/Railway
- Nuclear: https://wiki.factorio.com/Nuclear_power
- Bots: https://wiki.factorio.com/Logistic_network
- Circuits: https://wiki.factorio.com/Circuit_network
- Modules: https://wiki.factorio.com/Module
