View source: R/goal_flush_pH.R
goal_flush_pH | R Documentation |
Calculates the pH of a flush reservoir that is needed to achieve the goal pCO2 after the flush reservoir has been drained into the respirometer.
goal_flush_pH(
goal_pco2,
resp_pH,
resp_vol,
flush_vol,
flush_remain = 0,
temp = 25,
sal = 35,
TA = NULL,
atm_pres = 1013.25
)
goal_pco2 |
the desired pCO2 in the respirometer after the flush (uatm). |
resp_pH |
pH inside the respirometer before the flush (total scale). |
resp_vol |
volume of the respirometer (liter). |
flush_vol |
volume of the flush reservoir (liter). |
flush_remain |
volume of the flush reservoir that will remain after the flush (liter). |
temp |
temperature (°C). Default is 25 °C. |
sal |
salinity (psu). Default is 35 psu. If |
TA |
(optional) total alkalinity (umol / kg). If undefined TA is estimated from salinity using |
atm_pres |
atmospheric pressure (mbar). Default is 1013.25 mbar. |
pH needed in the flush reservoir to achieve the goal pCO2 post-flush (total scale).
Matthew A. Birk, matthewabirk@gmail.com
co2_rate
, flush_carb
, carb
, peri_pump
# I want the respirometer to have a pCO2 = 1000 uatm. It currently has a pH of 7.6 and is 90 L.
# If I have a 200 L reservoir which will be drained completely, what do I want
# the pH of the reservoir to be?
goal_flush_pH(goal_pco2 = 1000, resp_pH = 7.6, resp_vol = 90, flush_vol = 200)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.