flush_carb {respirometry} | R Documentation |
Estimate carbonate chemistry after a flush
Description
Given the seawater pH inside the respirometer and in the flush reservoir, the new carbonate parameters (including pH) in the respirometer after the flush are estimated.
Usage
flush_carb(
resp_vol,
flow_rate,
duration,
resp_pH,
flush_pH,
temp = 25,
sal = 35,
TA = NULL,
atm_pres = 1013.25
)
Arguments
resp_vol |
volume of the respirometer (liter). |
flow_rate |
rate of water flow into the respirometer (liters / minute). |
duration |
duration of the flush (minutes). |
resp_pH |
pH inside the respirometer before the flush (total scale). |
flush_pH |
pH of the water used for flushing the respirometer (total scale). |
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. |
Value
A data frame returned by carb
.
Author(s)
Matthew A. Birk, matthewabirk@gmail.com
See Also
Examples
flush_carb(resp_vol = 90, flow_rate = 10, duration = 3, resp_pH = 7.8, flush_pH = 8.1)
# What will be the pH in the respirometer after this flush?
flush_carb(resp_vol = 90, flow_rate = 10, duration = 3, resp_pH = 7.8, flush_pH = 8.1)$pH