The electrochemical model of the Li-S battery was mathematically developed using a series of partial differential equations and implemented using the mathematics/general form PDE module and Nernst-Planck based tertiary current distribution module in COMSOL. Details of the electrochemical equations, boundary conditions and summary of kinetic and thermodynamic parameters are presented in the supplementary information.