Optimization of Li-Ion battery Electrodes: A Numerical Study