How to deploy photovoltaic energy storage