Capturing the effects of interphasial evolution on lithium metal battery performance