[CHNOSZ-commits] r923 - in pkg/CHNOSZ: . inst vignettes
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Jun 7 08:45:24 CEST 2025
Author: jedick
Date: 2025-06-07 08:45:23 +0200 (Sat, 07 Jun 2025)
New Revision: 923
Modified:
pkg/CHNOSZ/DESCRIPTION
pkg/CHNOSZ/inst/NEWS.Rd
pkg/CHNOSZ/vignettes/FAQ.Rmd
pkg/CHNOSZ/vignettes/postprocess.sh
Log:
Add FAQ question: What are the main limitations of CHNOSZ?
Modified: pkg/CHNOSZ/DESCRIPTION
===================================================================
--- pkg/CHNOSZ/DESCRIPTION 2025-06-06 03:14:09 UTC (rev 922)
+++ pkg/CHNOSZ/DESCRIPTION 2025-06-07 06:45:23 UTC (rev 923)
@@ -1,6 +1,6 @@
-Date: 2025-06-06
+Date: 2025-06-07
Package: CHNOSZ
-Version: 2.1.0-94
+Version: 2.1.0-95
Title: Thermodynamic Calculations and Diagrams for Geochemistry
Authors at R: c(
person("Jeffrey", "Dick", , "j3ffdick at gmail.com", role = c("aut", "cre"),
Modified: pkg/CHNOSZ/inst/NEWS.Rd
===================================================================
--- pkg/CHNOSZ/inst/NEWS.Rd 2025-06-06 03:14:09 UTC (rev 922)
+++ pkg/CHNOSZ/inst/NEWS.Rd 2025-06-07 06:45:23 UTC (rev 923)
@@ -15,7 +15,7 @@
\newcommand{\Cp}{\ifelse{latex}{\eqn{C_P}}{\ifelse{html}{\out{<I>C<sub>P</sub></I>}}{Cp}}}
\newcommand{\DG0}{\ifelse{latex}{\eqn{{\Delta}G^{\circ}}}{\ifelse{html}{\out{Δ<I>G</I>°}}{ΔG°}}}
-\section{Changes in CHNOSZ version 2.1.0-94 (2025-06-06)}{
+\section{Changes in CHNOSZ version 2.1.0-95 (2025-06-07)}{
\subsection{OBIGT DATABASE FORMAT}{
\itemize{
@@ -169,12 +169,18 @@
uranyl species, after
\href{https://doi.org/10.1016/j.gca.2024.04.023}{Migdisov et al. (2024)}.
- \item Add FAQ question: Why are mineral stability boundaries curved on
- mosaic diagrams?
+ \item Add FAQ questions:
+
+ \itemize{
+
+ \item Why are mineral stability boundaries curved on mosaic diagrams?
- \item Add FAQ question: Where do the names CHNOSZ, OBIGT, and subcrt come
- from?
+ \item Where do the names CHNOSZ, OBIGT, and subcrt come from?
+ \item What are the main limitations of CHNOSZ?
+
+ }
+
}
}
Modified: pkg/CHNOSZ/vignettes/FAQ.Rmd
===================================================================
--- pkg/CHNOSZ/vignettes/FAQ.Rmd 2025-06-06 03:14:09 UTC (rev 922)
+++ pkg/CHNOSZ/vignettes/FAQ.Rmd 2025-06-07 06:45:23 UTC (rev 923)
@@ -218,7 +218,7 @@
## Where do the names CHNOSZ, OBIGT, and subcrt come from?
CHNOSZ has the symbols for five elements (carbon, hydrogen, nitrogen, oxygen, and sulfur) and charge (Z).
-These letters appear as the column names in the stoichiometric matrix for ionized proteins, which were the subject of JMD's PhD thesis.
+These letters appear as the column names in the stoichiometric matrix of basis species for ionized proteins, which were the subject of JMD's PhD thesis.
OBIGT was originally an abbreviation for the OrganoBioGeoTherm software package written by John Donovan,
a Windows interface to SUPCRT92 that was first mentioned in print by @RH98.
@@ -272,6 +272,27 @@
*Added to <https://chnosz.net/> website on 2018-11-13; moved to FAQ on 2023-05-27; added references for **revised** HKF on 2023-11-17.*
+## What are the main limitations of CHNOSZ?
+
+- **No phase diagrams:** CHNOSZ does not implement phase diagrams (*).
+ - This includes diagrams with different numbers of coexisting phases and/or phases that don't all have an element in common.
+ - Some types of diagrams that CHNOSZ can't make: binary mixing diagrams, ternary phase diagrams, pseudosections.
+ - Suggested terminology for diagrams that CHNOSZ can make: *stability diagrams* for minerals,
+ *predominance or speciation diagrams* for aqueous species, *activity or fugacity diagrams* to refer to the axis variables,
+ *solubility diagrams* made using the `solubility()` function.
+- **No Gibbs energy minimization:** CHNOSZ does not implement Gibbs energy minimization or other general-purpose equilibrium speciation.
+- **Shared element limitation:**
+ - CHNOSZ makes diagrams for minerals and/or aqueous species that are *balanced on an element*,
+ so every point on the diagram has one mineral or aqueous species with that element.
+ - CHNOSZ can calculate equilibrium concentrations of aqueous species *balanced on an element*, but not for multicomponent systems in general.
+ - [Diagrams with multiple metals](multi-metal.html) are possible but are limited by data availability and have not been tested for more than two metals.
+- Limitations imposed by the **revised HKF model** (or DEW for higher pressures) and **extended Debye-Hückel equation**.
+ Highly concentrated solutions (brines) or temperatures below about -20 °C are not supported.
+
+(*) Any diagram with different minerals is technically a phase diagram, but "phase diagram" usually has a more specific meaning depending on the context.
+
+*Added on 2025-06-07.*
+
## When and why do equal-activity boundaries depend on total activity?
Short answer: When the species have the same number of the conserved element (let's take C for example),
Modified: pkg/CHNOSZ/vignettes/postprocess.sh
===================================================================
--- pkg/CHNOSZ/vignettes/postprocess.sh 2025-06-06 03:14:09 UTC (rev 922)
+++ pkg/CHNOSZ/vignettes/postprocess.sh 2025-06-07 06:45:23 UTC (rev 923)
@@ -145,3 +145,4 @@
sed -i 's/<code>affinity()<\/code>/<code><a href="..\/html\/affinity.html" style="color:\ green;">affinity()<\/a><\/code>/g' FAQ.html
sed -i 's/<code>diagram()<\/code>/<code><a href="..\/html\/diagram.html" style="color:\ green;">diagram()<\/a><\/code>/g' FAQ.html
sed -i 's/<code>mosaic()<\/code>/<code><a href="..\/html\/mosaic.html" style="color:\ green;">mosaic()<\/a><\/code>/g' FAQ.html
+sed -i 's/<code>solubility()<\/code>/<code><a href="..\/html\/solubility.html" style="color:\ green;">solubility()<\/a><\/code>/g' FAQ.html
More information about the CHNOSZ-commits
mailing list