Show generator battery output and slow idle drain

This commit is contained in:
Codex Agent
2025-11-22 23:23:06 +01:00
parent 5d62ea29b6
commit 92857a27a0
2 changed files with 6 additions and 3 deletions

View File

@@ -565,7 +565,7 @@ class ReactorDashboard:
status = "RUN" if gen.running else "START" if gen.starting else "OFF"
spool = f" spool {gen.spool_remaining:4.1f}s" if gen.starting else ""
lines.append((f"Gen{idx + 1}", f"{status} {gen.power_output_mw:6.1f}/{self.reactor.generators[idx].rated_output_mw:4.0f} MW{spool}"))
lines.append((f" Battery", f"{gen.battery_charge*100:5.1f}%"))
lines.append((f" Battery", f"{gen.battery_charge*100:5.1f}% out {gen.battery_output_mw:4.1f} MW"))
return lines
def _power_lines(self, state: PlantState) -> list[tuple[str, str]]: