Ensuring self-consistent assignment of thermodynamic parameters in simulations of electrochemical—chemical systems