Street, flows and battery state of charge
Net load, grid import and battery power over the day

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

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.

Made with 🟠 Blender