Package: CHNOSZ 2.1.0-26

Jeffrey Dick

CHNOSZ: Thermodynamic Calculations and Diagrams for Geochemistry

An integrated set of tools for thermodynamic calculations in aqueous geochemistry and geobiochemistry. Functions are provided for writing balanced reactions to form species from user-selected basis species and for calculating the standard molal properties of species and reactions, including the standard Gibbs energy and equilibrium constant. Calculations of the non-equilibrium chemical affinity and equilibrium chemical activity of species can be portrayed on diagrams as a function of temperature, pressure, or activity of basis species; in two dimensions, this gives a maximum affinity or predominance diagram. The diagrams have formatted chemical formulas and axis labels, and water stability limits can be added to Eh-pH, oxygen fugacity- temperature, and other diagrams with a redox variable. The package has been developed to handle common calculations in aqueous geochemistry, such as solubility due to complexation of metal ions, mineral buffers of redox or pH, and changing the basis species across a diagram ("mosaic diagrams"). CHNOSZ also implements a group additivity algorithm for the standard thermodynamic properties of proteins.

Authors:Jeffrey Dick [aut, cre]

CHNOSZ_2.1.0-26.tar.gz
CHNOSZ_2.1.0-26.zip(r-4.5)CHNOSZ_2.1.0-26.zip(r-4.4)CHNOSZ_2.1.0-26.zip(r-4.3)
CHNOSZ_2.1.0-26.tgz(r-4.4-x86_64)CHNOSZ_2.1.0-26.tgz(r-4.4-arm64)CHNOSZ_2.1.0-26.tgz(r-4.3-x86_64)CHNOSZ_2.1.0-26.tgz(r-4.3-arm64)
CHNOSZ_2.1.0-26.tar.gz(r-4.5-noble)CHNOSZ_2.1.0-26.tar.gz(r-4.4-noble)
CHNOSZ_2.1.0-26.tgz(r-4.4-emscripten)CHNOSZ_2.1.0-26.tgz(r-4.3-emscripten)
CHNOSZ.pdf |CHNOSZ.html
CHNOSZ/json (API)
NEWS

# Install 'CHNOSZ' in R:
install.packages('CHNOSZ', repos = c('https://r-forge.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://r-forge.r-project.org/projects/chnosz

On CRAN:

fortran

9.18 score 4 packages 212 scripts 930 downloads 13 mentions 125 exports 0 dependencies

Last updated 8 days agofrom:79d2bf1d5e. Checks:OK: 4 ERROR: 5. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 01 2024
R-4.5-win-x86_64ERRORDec 01 2024
R-4.5-linux-x86_64OKDec 01 2024
R-4.4-win-x86_64ERRORDec 01 2024
R-4.4-mac-x86_64OKDec 01 2024
R-4.4-mac-aarch64ERRORDec 01 2024
R-4.3-win-x86_64ERRORDec 01 2024
R-4.3-mac-x86_64OKDec 01 2024
R-4.3-mac-aarch64ERRORDec 01 2024

Exports:add.OBIGTadd.proteinaffinityallparentsaminoacidsas.chemical.formulaaxis.labelbasisbasis.elementsbasis.logactBermanbgammacalculateDensitycalculateEpsiloncalculateGibbsOfWatercalculateQcheck.EOScheck.GHScheck.OBIGTCHNOSZconvertcount.elementsCp_s_vardemosdescribe.basisdescribe.propertydescribe.reactiondiagramdimSumsdPdTtrdumpdataE.unitselement.muentropyEOScalcEOScoeffsEOSlabEOSplotEOSregressEOSvarequil.boltzmannequil.reactionequilibrateexamplesexpr.propertyexpr.speciesexpr.unitsfind.tpgetnamesgetnodesgetrankGHSGHS_Tri2AIAPWS95ibasisinfoionize.aalabel.figurelabel.plotlexlist2arraylNaCllogB.to.OBIGTlPlSlTlTPmakeupmashmassmixmod.buffermod.OBIGTmolesmosaicMP90.cpmtitleNaClnonidealOBIGTP.unitspalplyparentpinfoprotein.basisprotein.equilprotein.formulaprotein.lengthprotein.OBIGTrank.affinityratlabrebalanceresetretrieveRH2OBIGTrho.IAPWS95scinamesliceslice.affinitysolubilityspeciesstack_mosaicsubcrtswap.basissyslabT.unitsthermothermo.axisthermo.plot.newthermo.refsTtrunitizeusrfigV_s_varwaterwater.AW90water.DEWwater.IAPWS95water.lineswater.SUPCRT92which.pmaxWP02.auxiliaryZCZC.col

Dependencies:

An Introduction to CHNOSZ

Rendered fromanintro.Rmdusingknitr::rmarkdownon Dec 01 2024.

Last update: 2024-12-01
Started: 2017-02-04

CHNOSZ FAQ

Rendered fromFAQ.Rmdusingknitr::rmarkdownon Dec 01 2024.

Last update: 2024-12-01
Started: 2023-05-17

Customizing the thermodynamic database

Rendered fromcustom_data.Rmdusingknitr::rmarkdownon Dec 01 2024.

Last update: 2023-11-29
Started: 2023-03-03

Diagrams with multiple metals

Rendered frommulti-metal.Rmdusingknitr::rmarkdownon Dec 01 2024.

Last update: 2024-12-01
Started: 2020-07-16

Equilibrium in CHNOSZ

Rendered fromequilibrium.Rmdusingknitr::rmarkdownon Dec 01 2024.

Last update: 2024-12-01
Started: 2020-07-06

OBIGT thermodynamic database

Rendered fromOBIGT.Rmdusingknitr::rmarkdownon Dec 01 2024.

Last update: 2024-11-30
Started: 2020-07-04

Regressing thermodynamic data

Rendered fromeos-regress.Rmdusingknitr::rmarkdownon Dec 01 2024.

Last update: 2023-11-29
Started: 2017-02-06

Readme and manuals

Help Manual

Help pageTopics
Thermodynamic calculations and diagrams for geochemistryCHNOSZ-package
Functions to work with the thermodynamic databaseadd.OBIGT mod.OBIGT
Amino acid compositions of proteinsadd.protein
Chemical affinities of formation reactionsaffinity
Define basis speciesbasis
Thermodynamic properties of mineralsBerman
Calculating buffered chemical activitiesbuffer mod.buffer
Deep Earth Water (DEW) modelcalculateDensity calculateEpsilon calculateGibbsOfWater calculateQ DEW
Chemical activity diagramsdiagram find.tp
Regress equations-of-state parameters for aqueous speciesCp_s_var EOScalc EOScoeffs EOSlab EOSplot EOSregress EOSvar V_s_var
Equilibrium chemical activities of speciesequil.boltzmann equil.reaction equilibrate moles
Run examples from the documentationdemos examples
Extra dataextdata
Properties of water from IAPWS-95IAPWS95
Search the thermodynamic databaseinfo
Properties of ionization of proteinsionize.aa
Fit thermodynamic parameters to formation constants (log β)logB.to.OBIGT
Parse chemical formulascount.elements makeup
Combine diagrams for multi-metal systemsmash mix rebalance
Chemical affinities with changing basis speciesmosaic
Simple NaCl-water solution modelNaCl
Activity coefficients of aqueous speciesbgamma nonideal
Conditional parallel processingpalply
Summaries of thermodynamic properties of proteinspinfo protein.basis protein.equil protein.formula protein.info protein.length protein.OBIGT
Average ranks of chemical affinitiesrank.affinity
Retrieve species by elementretrieve
Equilibrium chemical activities of speciessolubility
Species of interestspecies
Stacked mosaic diagramstack_mosaic
Properties of species and reactionssubcrt
Swap basis speciesbasis.elements basis.logact element.mu ibasis swap.basis
Extract data from NCBI taxonomy filesallparents getnames getnodes getrank parent sciname taxonomy
Thermodynamic database and system settingsCHNOSZ OBIGT reset thermo
Functions to work with multidimensional arraysdimSums list2array slice slice.affinity util.array
Functions for checking thermodynamic datacheck.EOS check.GHS check.OBIGT dumpdata RH2OBIGT thermo.refs util.data
Functions to express chemical formulas and propertiesaxis.label describe.basis describe.property describe.reaction expr.property expr.species expr.units ratlab syslab util.expression
Functions to work with chemical formulasas.chemical.formula entropy GHS i2A mass util.formula ZC
Functions to make legend textlex lNaCl lP lS lT lTP util.legend
Functions to work with listsutil.list which.pmax
Functions for miscellaneous tasksdPdTtr GHS_Tr Ttr unitize util.misc
Functions to create and modify plotslabel.figure label.plot mtitle thermo.axis thermo.plot.new usrfig util.plot water.lines ZC.col
Functions for proteins (other calculations)group.formulas MP90.cp util.protein
Functions to work with sequence dataaminoacids util.seq
Functions to convert unitsconvert E.units P.units T.units util.units
Functions for properties of water and steamrho.IAPWS95 util.water water.AW90 WP02.auxiliary
Properties of waterwater water.DEW water.IAPWS95 water.SUPCRT92