Simulation of amorphous silicon anode in lithium-ion batteries