Skip to content

Commit

Permalink
display calculaiton
Browse files Browse the repository at this point in the history
  • Loading branch information
jogaudard committed Apr 24, 2024
1 parent ea88b00 commit b7e638d
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 10 deletions.
17 changes: 14 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -172,17 +172,28 @@ fluxes_exp_liahovden <- slopes_exp_liahovden |>
head(fluxes_exp_liahovden)
```

The output is in mmol/m^2/h and the calculation used is as follow:
The output is in mmol/m^2^/h and the calculation used is as follow:

<img src="https://render.githubusercontent.com/render/math?math=flux=slope\times \frac{P\times V}{R\times T\times A}">
<!-- <img src="https://render.githubusercontent.com/render/math?math=flux=slope\times \frac{P\times V}{R\times T\times A}"> -->

$$
\text{flux}=\text{slope}\times \frac{P\times V}{R\times T\times A}
$$

where

flux: the flux of gas at the surface of the plot (mmol/m^2^/h)
slope: slope estimate (ppm^-1^)

slope: slope estimate (ppm*s^-1^)

P: pressure, assumed (atm)

V: volume of the chamber and tubing (L)

R: gas constant (0.082057 L\*atm\*K^-1^\*mol^-1^)

T: chamber air temperature (K)

A: area of chamber frame base (m^2^)

## Further developments
Expand Down
29 changes: 22 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,15 +275,30 @@ head(fluxes_exp_liahovden)
#> 6 6 -0.00487 2.91 -0.304
```

The output is in mmol/m^2/h and the calculation used is as follow:
The output is in mmol/m<sup>2</sup>/h and the calculation used is as
follow:

<img src="https://render.githubusercontent.com/render/math?math=flux=slope\times \frac{P\times V}{R\times T\times A}">
<!-- <img src="https://render.githubusercontent.com/render/math?math=flux=slope\times \frac{P\times V}{R\times T\times A}"> -->

where flux: the flux of gas at the surface of the plot
(mmol/m<sup>2</sup>/h) slope: slope estimate (ppm<sup>-1</sup>) P:
pressure, assumed (atm) V: volume of the chamber and tubing (L) R: gas
constant (0.082057 L\*atm\*K<sup>-1</sup>\*mol<sup>-1</sup>) T: chamber
air temperature (K) A: area of chamber frame base (m<sup>2</sup>)
$$
\text{flux}=\text{slope}\times \frac{P\times V}{R\times T\times A}
$$

where

flux: the flux of gas at the surface of the plot (mmol/m<sup>2</sup>/h)

slope: slope estimate (ppm\*s<sup>-1</sup>)

P: pressure, assumed (atm)

V: volume of the chamber and tubing (L)

R: gas constant (0.082057 L\*atm\*K<sup>-1</sup>\*mol<sup>-1</sup>)

T: chamber air temperature (K)

A: area of chamber frame base (m<sup>2</sup>)

## Further developments

Expand Down

0 comments on commit b7e638d

Please sign in to comment.