Impact of climate on photovoltaic battery energy storage system optimization