Home▸Power Engineering▸Neighborhood Battery Dispatch: The Daily Optimal Plan for a Street Battery (2D)

Neighborhood Battery Dispatch: The Daily Optimal Plan for a Street Battery (2D)

The same optimiser drawn as a street with flow arrows and a state-of-charge gauge, plus the net load, grid import and battery power over the day and the saving curves for battery size and power. Blender-rendered house, battery and transformer sprites.

Power Engineering2DAdvanced60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Neighborhood Battery Dispatch: The Daily Optimal Plan for a Street Battery (2D) ↗ Open standalone

Ten houses share one radial feeder run from a substation, and every house draws real power plus lagging reactive power exactly like real inductive household loads do. This simulator solves the linearized DistFlow power-flow equations after every change, so dragging the neighborhood-load slider genuinely sags the far end of the feeder below nominal voltage. A gradient-descent optimizer then tunes each house's capacitor bank — the same reactive-power compensation utilities install on real distribution feeders — to flatten the voltage profile while minimizing a cost function that penalizes both voltage deviation and capacitor usage, with live readouts for minimum bus voltage, total line loss, and the cost function's descent.

⚙ Under the hood

The same optimiser drawn as a street with flow arrows and a state-of-charge gauge, plus the net load, grid import and battery power over the day and the saving curves for battery size and power. Blender-rendered house, battery and transformer sprites.

Battery StorageTime-of-Use TariffPeak ShavingDynamic ProgrammingRooftop Solar

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)