calc_Ks | R Documentation |
Wrapper to calculate multiple stoichiometric equilibrium constants at given temperature, salinity, pressure and the concentration of magnesium, calcium, sulphate, and fluorine.
calc_Ks(
ks = NULL,
temp_c = 25,
sal = 35,
p_bar = NULL,
magnesium = 0.0528171,
calcium = 0.0102821,
sulphate = NULL,
fluorine = NULL,
method = "MyAMI"
)
ks |
character vectors of Ks to be calculated e.g., c("K0", "K1") |
temp_c |
Temperature (Celsius) |
sal |
Salinity |
p_bar |
Pressure (Bar) (optional) |
magnesium |
Magnesium concentration in mol/kgsw. If None, modern is assumed (0.0528171). Should be the average magnesium concentration in seawater - a salinity correction is then applied to calculate the magnesium concentration in the sample. |
calcium |
Calcium concentration in mol/kgsw. If None, modern is assumed (0.0102821). Should be the average calcium concentration in seawater - a salinity correction is then applied to calculate the magnesium concentration in the sample. |
sulphate |
Sulphate concentration in mol/kgsw. Calculated from salinity if not given. |
fluorine |
Fluorine concentration in mol/kgsw. Calculated from salinity if not given. |
method |
Options: |
Data.table of specified Ks at the given conditions
Dennis Mayk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.