[Paper Review] A new open source software for the calculation of the liquid junction potential between two solutions according to the stationary Nernst-Planck equation
This paper presents an open-source Java-based software that calculates liquid junction potentials using the stationary Nernst-Planck equation under local electrical quasi-neutrality, enabling accurate computation of junction potentials and ion fluxes for arbitrary electrolyte systems, including nonideal solutions via user-defined activity-concentration dependencies. The method outperforms the Henderson equation by accounting for concentration-dependent diffusion coefficients and ensuring numerical consistency across ion species choices.
We describe an open source software which we have realized and made publicly available at the website http://jljp.sourceforge.net. It provides the potential difference and the ion fluxes across a liquid junction between the solutions of two arbitrary electrolytes. The calculation is made by solving the Nernst-Planck equations for the stationary state in conditions of local electrical quasi-neutrality at all points of the junction. The user can arbitrarily assign the concentrations of the ions in the two solutions, and also specify the analytical dependence of the diffusion coefficient of each ion on its concentration.
Motivation & Objective
- To develop a freely available, open-source tool for calculating liquid junction potentials in electrochemical systems.
- To overcome the limitations of existing commercial software by providing a transparent, extensible, and user-friendly solution.
- To implement the stationary Nernst-Planck equation with local electrical quasi-neutrality for accurate junction potential and ion flux prediction.
- To support nonideal junctions by allowing user-defined functional forms for ion activity dependence on concentration.
- To validate the numerical approach against analytical solutions and benchmark methods like Henderson's equation.
Proposed method
- The software numerically integrates the stationary Nernst-Planck equations under the assumption of local electrical quasi-neutrality at all points in the junction.
- Ion fluxes are calculated by solving a system of n−1 differential equations derived from the Nernst-Planck and continuity equations, with concentration of one ion used as the independent variable.
- Diffusion coefficients are computed via the relation $ D_i = kT\mu_i \frac{d\ln a_i}{d\ln c_i} $, where the activity dependence is user-specified.
- The program iteratively adjusts flux values until boundary concentrations on both sides of the junction are satisfied within a tolerance.
- The junction potential is computed by numerical integration of the electric field along the junction, using the derived concentration and flux profiles.
- Ion fluxes are reported as $ L\Phi_i $, the product of junction length and flux, to ensure invariance under arbitrary scaling of fluxes.
Experimental results
Research questions
- RQ1Can a user-configurable, open-source software accurately compute liquid junction potentials using the stationary Nernst-Planck equation with local quasi-neutrality?
- RQ2How does the Nernst-Planck-based approach compare to the Henderson equation in predicting junction potentials for mixed electrolyte systems?
- RQ3To what extent do nonideal activity-concentration relationships affect junction potential predictions, and can they be reliably modeled in a general-purpose tool?
- RQ4Is the numerical solution robust and independent of the choice of the ion used as the independent variable in the integration?
- RQ5Can the software reproduce known analytical solutions for simple two- and three-ion systems?
Key findings
- The software correctly reproduces the analytical junction potential of 12.7 mV for a ZnCl₂ vs. KCl junction at α = 0, validating its accuracy.
- For mixed KOAc/KCl and ZnCl₂ systems, the Nernst-Planck method yields higher junction potentials than the Henderson equation, which systematically underestimates the value.
- The program successfully handles nonideal behavior by allowing user-defined $ \frac{d\ln a_i}{d\ln c_i} $, enabling accurate modeling beyond ideal dilute solutions.
- The computed junction potential is independent of the choice of the ion used as the integration variable, confirming numerical consistency when concentration profiles are monotonic.
- The ion fluxes reported are physically meaningful as $ L\Phi_i $, which remain invariant under rescaling of fluxes, ensuring physical consistency.
- The software demonstrates that the standard Henderson equation underestimates junction potentials in mixed electrolyte systems, particularly when ion mobilities and activity coefficients differ significantly.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.