Envoyer par SMS: Method for Determining the Optimal Capacity of Energy Storage Systems with a Long-Term Forecast of Power Consumption