| Abstract |
This work introduces the R package GQAnalyzer that can be used to create the most important specialized plots employed in the analysis and interpretation of the chemical composition of hot springs, fumarole and well samples acquired in geothermal exploration and development programs. This package is composed of several functions that can be used from the command line and/or scripts, and a Graphical User Interface has been developed and included in the package to facilitate the geochemical analysis. In the case of geothermal fluids, GQAnalyzer has the capability to create user defined scatter and ternary plots, the Giggenbach Na-K-Mg geothermometer plot, and several plots used in the classification of the water samples including conventional and modified Piper, Durov and multirectangular diagrams. Fluid Mixing can be analyzed using the conventional Cl and SiO2 Enthalpy plots and the M3 algorithm based on a multivariate analysis of the composition of water. In addition, thirty five geothermometers can be easily calculated from the chemical composition of water. For gases and steam samples, GQAnalyzer includes ternary diagrams (N2-He-Ar, N2-Ar-CO2, CH4-CO2-H2S, CO2-H2S-NH3), gas ratio geothermometers (CO2-Ar and H2-Ar, CO/CO2 and CH4/CO2), and the geothermometer grids (Fischer-Tropsh and H2-H2S, Fischer-Tropsh and CO2, Fischer-Tropsh and H2S). The implementation of the GQAnalyzer package in an open source programming language with great graphical capabilities such as R makes this package a good alternative to the widely used spreadsheets employed in the analysis of geothermal information. This package is offered under the GPL-3 license and can be used for teaching as well as research purposes without warranty for its use and/or the obtained results. |