Text this: Optimization of Economic Space: Algorithms for Controlling Energy Storage in Low-Voltage Networks