CHNOSZ-package | R Documentation |
CHNOSZ is a package for thermodynamic calculations, primarily with applications in geochemistry and compositional biology. It can be used to calculate the standard molal thermodynamic properties and chemical affinities of reactions relevant to geobiochemical processes, and to visualize the equilibrium activities of species on chemical speciation and predominance diagrams.
To view the manual, run help.start()
then select ‘Packages’ and ‘CHNOSZ’. Examples in the function help pages can be run by pasting the code block into the R console.
Also check out the vignette \viglinkanintro (An Introduction to CHNOSZ).
Run the command examples()
to run all of the examples provided in CHNOSZ. This should take about a minute.
Each help page (other than this one) has been given one of the following “concept index entries”:
Main workflow: info
, subcrt
, basis
, species
, affinity
, equilibrate
, diagram
Extended workflow: swap.basis
, buffer
, mosaic
, EOSregress
Thermodynamic data: data
, extdata
, add.OBIGT
, util.data
Thermodynamic calculations: util.formula
, makeup
, util.units
, Berman
, nonideal
, util.misc
Water properties: water
, util.water
, DEW
, IAPWS95
Protein properties: protein.info
, add.protein
, util.fasta
, util.protein
, util.seq
, ionize.aa
Other tools: examples
, taxonomy
Utility functions: util.expression
, util.plot
, util.array
, util.list
, palply
These concept entries are visible to help.search
(aka ??
).
For example, help pages related to thermodynamic data can be listed using ??"thermodynamic data"
.
All thermodynamic data and examples are provided on an as-is basis.
It is up to you to check not only the accuracy of the data, but also the suitability of the data AND computational techniques for your problem.
By combining data taken from different sources, it is possible to build an inconsistent and/or nonsensical calculation.
An attempt has been made to provide a default database (OBIGT) that is internally consistent, but no guarantee can be made.
If there is any doubt about the accuracy or suitability of data for a particular problem, please consult the primary sources (see thermo.refs
).
This package would not exist without the scientific influence and friendship of the late Professor Harold C. Helgeson. The ‘src/H2O92D.f’ file with Fortran code for calculating the thermodynamic and electrostatic properties of \H2O is modified from the SUPCRT92 package (Johnson et al., 1992).
Work on CHNOSZ at U.C. Berkeley from ca. 2003 to 2008 was supported in part by research grants to HCH from the U.S. National Science Foundation and Department of Energy. In 2009–2011, development of this package was partially supported by NSF grant EAR-0847616 to JMD.
Johnson, J. W., Oelkers, E. H. and Helgeson, H. C. (1992) SUPCRT92: A software package for calculating the standard molal thermodynamic properties of minerals, gases, aqueous species, and reactions from 1 to 5000 bar and 0 to 1000\degC. Comp. Geosci. 18, 899–947. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/0098-3004(92)90029-Q")}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.