The sizing of microgrids with energy storage systems can be a complex optimization problem, so accurate models of battery degradation are often discarded to avoid intractable computational times.