Economic assessment of battery hosting capacity with grid-aware optimization | Synapse