Skip to content

Equilibrium constants for GWB thermodynamic data files

License

Notifications You must be signed in to change notification settings

jedick/logKcalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logKcalc

This R package calculates equilibrium constants for thermodynamic data files used in The Geochemist's Workbench®. It reads reactions from an input GWB data file, calculates equilibrium constants (logK) for the reactions using the OBIGT database in CHNOSZ, and writes them to an output GWB file.

Installation

install.packages("remotes")
remotes::install_github("jedick/logKcalc", build_vignettes = TRUE)

Features

  • Change the temperature and pressure for logK calculations.
  • Add new species to the output file.
  • List data references in the output file (requires CHNOSZ version > 1.3.6).
  • Make plots comparing logK values from two data files.

TODO (planned features)

  • Update activity coefficient model blocks (Debye-Hückel, H2O, CO2) for specified T and P.

About

Equilibrium constants for GWB thermodynamic data files

Resources

License

Stars

Watchers

Forks

Packages

No packages published