This paper describes details of an automatic matrix decomposition approach for a reaction-based stream water quality model. The method yields a set of equilibrium equations, a set of kinetic-variable transport equations involving kinetic reactions only, and a set of component transport equations involving no reactions. Partial decomposition of the system of water quality constituent transport equations is performed via Gauss-Jordan column reduction of the reaction network by pivoting on equilibrium reactions to decouple equilibrium and kinetic reactions. This approach minimizes the number of partial differential advective-dispersive transport equations and enables robust numerical integration. Complete matrix decomposition by further pivoting on linearly independent kinetic reactions allows some rate equations to be formulated individually and explicitly enforces conservation of component species when component transport equations are solved. The methodology is demonstrated for a case study involving eutrophication reactions in the Des Moines River in Iowa, USA and for two hypothetical examples to illustrate the ability of the model to simulate sediment and chemical transport with both mobile and immobile water phases and with complex reaction networks involving both kinetic and equilibrium reactions.
- Chemical equilibrium/kinetics
- Chemical reactions
- Sediment transport
- Water quality models