Numerical modeling of energy storage materials