# Estimate dissolved O2 after a flush

### Description

Calculate the pO2 or [O2] in a respirometer after a flush. Given 5 of the 6 parameters, the 6th parameter is calculated.

### Usage

1 | ```
flush_o2(resp_vol, flow_rate, duration, resp_o2, flush_o2, final_o2)
``` |

### 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_o2` |
O2 inside the respirometer before the flush (units do not matter as long as it is consistant with |

`flush_o2` |
O2 of the water used for flushing the respirometer (units do not matter as long as it is consistant with |

`final_o2` |
O2 of the water in the respirometer at the end of the flush (units do not matter as long as it is consistant with |

### Author(s)

Matthew A. Birk, matthewabirk@gmail.com

### See Also

`flush_water`

, `flush_carb`

### Examples

1 2 3 4 5 | ```
# What will be the pO2 in the respirometer after this flush?
flush_o2(resp_vol = 90, flow_rate = 10, duration = 3, resp_o2 = 15, flush_o2 = 21)
# I want to bring the pO2 back up to 95% air saturation. How long do I need to flush?
flush_o2(resp_vol = 20, flow_rate = 2, resp_o2 = 75, flush_o2 = 99, final_o2 = 95)
``` |