Using energy storage to defer infrastructure investment