{"title":"PHREESQL: A toolkit to efficiently compute and store geochemical speciation calculation","authors":"Marino Vetuschi Zuccolini , Daniela Cabiddu , Simone Pittaluga","doi":"10.1016/j.cageo.2024.105640","DOIUrl":null,"url":null,"abstract":"<div><p>Both abiotic and biotic natural spheres benefit from the high reactivity of natural waters, which are ubiquitous on planet Earth. The use of speciation-solubility codes like <em>PHREEQC</em> can provide a deeper understanding of aqueous equilibria and water-rock interactions. A significant number of newly derived variables are produced by these computations, which may significantly increase compared to input data. It is crucial to process vast amounts of data efficiently, particularly when dealing with datasets that contain thousands of water analyses.</p><p>To tackle this problem, we present <em>PHREESQL</em>, a software package designed to efficiently store and manage extensive data generated by geochemical speciation computations performed by <em>PHREEQC</em>. High efficiency in data extraction and filtering of the entire output from a single run can be achieved through a well-designed relational SQL database structure. The <em>PHREESQL</em> can be used as a stand-alone package or embedded in third-party applications. Thanks to the SQL structure, it is possible to create links with unstructured meshes by developers and experts in reaction-transport problems. Real-time data management from multiparameter devices in field and laboratory settings is made possible and efficient by parallel computation options and software integration. The toolkit encompasses both a C++ library and a command-line interface, facilitating its use by geochemists with limited programming skills.</p></div>","PeriodicalId":55221,"journal":{"name":"Computers & Geosciences","volume":"190 ","pages":"Article 105640"},"PeriodicalIF":4.2000,"publicationDate":"2024-06-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S0098300424001237/pdfft?md5=02a32658de7ce243c1e2200e7a307bc1&pid=1-s2.0-S0098300424001237-main.pdf","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Geosciences","FirstCategoryId":"89","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0098300424001237","RegionNum":2,"RegionCategory":"地球科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
Both abiotic and biotic natural spheres benefit from the high reactivity of natural waters, which are ubiquitous on planet Earth. The use of speciation-solubility codes like PHREEQC can provide a deeper understanding of aqueous equilibria and water-rock interactions. A significant number of newly derived variables are produced by these computations, which may significantly increase compared to input data. It is crucial to process vast amounts of data efficiently, particularly when dealing with datasets that contain thousands of water analyses.
To tackle this problem, we present PHREESQL, a software package designed to efficiently store and manage extensive data generated by geochemical speciation computations performed by PHREEQC. High efficiency in data extraction and filtering of the entire output from a single run can be achieved through a well-designed relational SQL database structure. The PHREESQL can be used as a stand-alone package or embedded in third-party applications. Thanks to the SQL structure, it is possible to create links with unstructured meshes by developers and experts in reaction-transport problems. Real-time data management from multiparameter devices in field and laboratory settings is made possible and efficient by parallel computation options and software integration. The toolkit encompasses both a C++ library and a command-line interface, facilitating its use by geochemists with limited programming skills.
期刊介绍:
Computers & Geosciences publishes high impact, original research at the interface between Computer Sciences and Geosciences. Publications should apply modern computer science paradigms, whether computational or informatics-based, to address problems in the geosciences.