首页 | 本学科首页   官方微博 | 高级检索  
     


A general simulator for reaction-based biogeochemical processes
Affiliation:1. Pacific Northwest National Laboratory, P.O. Box 999, MS K9-36, Richland, WA 99352, USA;2. Department of Civil and Environmental Engineering, University of Central Florida, Orlando, FL 32816, USA;1. Referral Center for Cardiomyopathies, Cardiothoracovascular Department, Careggi University Hospital, Florence, Italy;2. Department of Experimental and Clinical Medicine, University of Florence, Florence, Italy;3. Department of NeuroFarBa, University of Florence, Florence, Italy;4. Genetic Diagnostics Unit, Laboratory Department, Careggi University Hospital, Florence, Italy;5. Department of Cardiovascular Diseases, Mayo Clinic, Rochester, Minnesota;1. Faculty of Science and Forestry, University of Eastern Finland, P.O. Box 111, 80101 Joensuu, Finland;2. Escuela de Ciencias Forestales, Universidad Mayor de San Simón, Final Av. Atahuallpa s/n, Temporal de Cala Cala, Barrio Prefectural, Cochabamba, Bolivia;1. Energy and Environment Division, Pacific Northwest National Laboratory, P.O. Box 999, MS K9-33, Richland, WA 99354, United States;2. CH2M HILL Plateau Remediation Company, Richland, WA, United States;1. Department of Family and Community Medicine, University of Toronto, Toronto, Ontario, Canada;2. Department of Medicine, McMaster University, Thrombosis and Atherosclerosis Research Institute, Hamilton, Ontario, Canada;3. Department of Medicine, Halton Healthcare Services, Cerebrovascular Disease Centre, Oakville, Ontario, Canada;4. Department of Medicine, Faculty of Medicine, Notre-Dame Hospital, Centre Hospitalier de l''Université de Montréal, Montreal, Quebec, Canada;5. Division of Cardiology, Centre Hospitalier Universitaire de Sherbrooke, University of Sherbrooke, Sherbrook, Quebec, Canada;6. Medical Affairs Department, Bayer Inc, Toronto, Ontario, Canada;7. Department of Medicine (Neurology), University of Alberta, Edmonton, Ontario, Canada;1. Department of Cardiology, Centro Hospitalar Trás-os-Montes e Alto Douro, Vila Real, Portugal;2. Department of Pneumology, Centro Hospitalar Trás-os-Montes e Alto Douro, Vila Real, Portugal;1. Pacific Northwest National Laboratory, Richland, WA, USA;2. Argonne National Laboratory, Advanced Photon Source, Argonne, IL 60439, USA
Abstract:As more complex biogeochemical situations are being investigated (e.g., evolving reactivity, passivation of reactive surfaces, dissolution of sorbates), there is a growing need for biogeochemical simulators to flexibly and facilely address new reaction forms and rate laws. This paper presents an approach that accommodates this need to efficiently simulate general biogeochemical processes, while insulating the user from additional code development.The approach allows for the automatic extraction of fundamental reaction stoichiometry and thermodynamics from a standard chemistry database, and the symbolic entry of arbitrarily complex user-specified reaction forms, rate laws, and equilibria. The user-specified equilibria and kinetic rates (i.e., they are not defined in the format of the standardized database) are interpreted by the Maple V (Waterloo Maple) symbolic mathematical software package. FORTRAN 90 code is then generated by Maple for (1) the analytical Jacobian matrix (if preferred over the numerical Jacobian matrix) used in the Newton–Raphson solution procedure, and (2) the residual functions for governing equations, user-specified equilibrium expressions and rate laws. Matrix diagonalization eliminates the need to conceptualize the system of reactions as a tableau, which comprises a list of components, species, the stoichiometric matrix, and the formation equilibrium constant vector that forms the species from components (Morel and Hering, 1993), while identifying a minimum rank set of basis species with enhanced numerical convergence properties. The newly generated code, which is designed to operate in the BIOGEOCHEM biogeochemical simulator, is then compiled and linked into the BIOGEOCHEM executable. With these features, users can avoid recoding the simulator to accept new equilibrium expressions or kinetic rate laws, while still taking full advantage of the stoichiometry and thermodynamics provided by an existing chemical database. Thus, the approach introduces efficiencies in the specification of biogeochemical reaction networks and eliminates opportunities for mistakes in preparing input files and coding errors. Test problems are used to demonstrate the features of the procedure.
Keywords:
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号