Electrochemical energy storage operation mode design