pro_flux {ConFluxPro} | R Documentation |
Inverse model of production profiles
Description
This implements an inverse modeling approach which optimizes vertically resolved production (or consumption) of the gases in question to fit a modeled concentration profile to observed data.
One boundary condition of this model is, that there is no incoming or
outgoing flux at the bottom of the lowest layer of the profile. If this
boundary condition is not met, the flux must be optimised as well. This can
be set in zero_flux
.
Usage
pro_flux(x, ...)
## S3 method for class 'cfp_dat'
pro_flux(x, ...)
## S3 method for class 'cfp_pfres'
pro_flux(x, ...)
## S3 method for class 'cfp_pfmod'
pro_flux(x, ...)
Arguments
x |
A |
... |
Arguments passed on to
|
Value
A cfp_pfres()
model result.
See Also
Other flux models:
fg_flux()
Examples
soilphys <-
cfp_soilphys(
ConFluxPro::soilphys,
id_cols = c("site", "Date")
)
gasdata <-
cfp_gasdata(
ConFluxPro::gasdata,
id_cols = c("site", "Date")
)
lmap <-
cfp_layers_map(
ConFluxPro::layers_map,
gas = "CO2",
lowlim = 0,
highlim = 1000,
id_cols = "site"
)
PROFLUX <-
cfp_dat(gasdata,
soilphys,
lmap ) |>
pro_flux()