A mathematical model for the solution of a set of chemical equilibrium equations in a multi-species and multiphase chemical system is described. The computer-aid solution of model is achieved by means of a Newton-Raphson method enhanced with a line-search scheme, which deals with the non-negative constrains. The residual function, representing the distance to the equilibrium, is defined from the chemical potential (or Gibbs energy) of the chemical system. Local minimums are potentially avoided by the prioritization of the aqueous reactions with respect to the heterogeneous reactions. The formation and release of gas bubbles is taken into account in the model, limiting the concentration of volatile aqueous species to a maximum value, given by the gas solubility constant.The reaction extents are used as state variables for the numerical method. As a result, the accepted solution satisfies the charge and mass balance equations and the model is fully compatible with general reactive transport models. © 2013 Elsevier Ltd.
- Mathematical models
- Newton-Raphson method
Paz-Garcia, J. M., Johannesson, B., Ottosen, L. M., Ribeiro, A. B., & Rodríguez-Maroto, J. M. (2013). Computing multi-species chemical equilibrium with an algorithm based on the reaction extents. Computers and Chemical Engineering, 58, 135-143. https://doi.org/10.1016/j.compchemeng.2013.06.013