eq_sol | R Documentation |
Calculate equilibrium solubility on a grid of input values
eq_sol(
ph,
dic,
chloride = 0,
sulfate = 0,
phosphate = 0,
phase,
element,
db = pbcu2sol,
empirical = FALSE,
print = NULL,
...
)
pb_sol(..., element = "Pb")
cu_sol(..., element = "Cu")
ph |
A vector of pH values. |
dic |
A vector of dissolved inorganic carbon (DIC) concentrations, in mg C/L. |
chloride |
A vector of chloride concentrations, in mg/L. |
sulfate |
A vector of sulfate concentrations, in mg SO4/L. |
phosphate |
A vector of orthophosphate concentrations, in mg P/L. |
phase |
Equilibrium phase. |
element |
An element to return the equilibrium concentration of. |
db |
The database to use for equilibrium solubility computations. The default is |
empirical |
Logical. Predict equilibrium copper solubility using the empirical model due to Lytle et al. https://doi.org/10.1002/awwa.1109? |
print |
Choose whether to print the input file ("input"), the full output ("output"), or the selected output. Default is the latter. |
... |
Arguments passed on to |
A tibble with the input grid of pH and DIC values and the solubilty predictions.
pb_sol()
: Shorthand for eq_sol()
with element = "Pb"
. For backwards compatibility.
cu_sol()
: Shorthand for eq_sol()
with element = "Cu"
. For backwards compatibility.
eq_sol(element = "Pb", ph = 7.5, dic = 5, phase = "Cerussite")
eq_sol(element = "Pb", ph = 7.5, dic = 5, db = phreeqc::minteq.v4.dat, phase = "Cerussite")
eq_sol(element = "Cu", ph = 7.5, dic = 5, phase = "Tenorite")
eq_sol(element = "Cu", ph = 7.5, dic = 5, db = phreeqc::minteq.v4.dat, phase = "Tenorite")
eq_sol(element = "Cu", 7.5, 5, phosphate = 1, empirical = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.