- Notifications
You must be signed in to change notification settings - Fork 0
Power & pollution budget per block, rolled up #23
Copy link
Copy link
Closed
Labels
area: plannerProduction block / planning modelProduction block / planning modelarea: webWeb UI (React/TanStack/vite-plus)Web UI (React/TanStack/vite-plus)
Description
Metadata
Metadata
Assignees
Labels
area: plannerProduction block / planning modelProduction block / planning modelarea: webWeb UI (React/TanStack/vite-plus)Web UI (React/TanStack/vite-plus)
Once machines are chosen, show each block's total power draw and pollution, plus a factory-wide rollup, for capacity planning.
Power is the sum of machine energy use times building count, including beacon power (
computeEffectsalready tracksbeaconPowerPerMachineW,effects.ts:69) and the module and beacon consumption multiplier (floored at 0.2). Pollution is machine emissions times count times the pollution multiplier. How Pyanodons represents emissions in the dump, and whether it uses a non-default pollutant, needs confirming before the pollution figures are trusted.Account for the machine's
energySource(electric versus burner); burner draw also implies fuel consumption, which for fluid fuel is handled by #25.Show block totals (power in W/MW, pollution per minute) in the block view and a rollup in the summary view. The effects pipeline already aggregates per-machine power, so this is mostly surfacing existing numbers plus a pollution term.
Related: #25.