Text this: Optimal control strategies for energy storage systems for HUB substation considering multiple distribution networks