Description Usage Arguments Details Value Author(s) See Also
Performs fugacity calculations to evaluate time-dependent chemical flows.
1 | get.fug.concs(sdata, chem.data, x, cfug)
|
sdata |
The chemical-scenario data specific to relevant combinations of chemical and scenario. Generated internally. |
chem.data |
The list of scenario-specific information for the chemicals being evaluated. Generated internally. |
x |
The output of the |
cfug |
The output of the |
This is one of two functions that perform fugacity calculations. This one evaluates dynamic or time-dependent chemical
First, a set of local variables are determined for use in later calculations. These are a mix of fixed and chemical-dependent
variables (evaluated separately for each person). Some variables, like chemical mass and app.rates, vary with each source, so
these calculations are repeated for each source-scenario.
Second, the eigenvalues and eigenvectors of the jacobian matrix are calculated. Since the fugacity model has been reduced to
just two compartments (air and surface), the solutions can be expressed analytically, and there is no explicit invocation of
any linear algebra routines that would normally be required.
Third, the variables composing the concs
output are evaluated. The variables m.c.air
and m.c.sur
are the time-constant masses, while m.t0.air
and m.t0.sur
are the time-dependent masses at t=0. The
time-constant parts are zero here because the permanent sources (i.e. c.src.air
and c.src.sur
) are
assumed to be zero in these calculations. The time-dependent masses are multiplied exponentially as a function of time,
and thus approach zero when enough time has passed.
concs A data set containing calculated dynamic chemical flows for each unique combination of simulated person and chemical.
Kristin Isaacs, Graham Glen
chem_fugs
, Fugacity
, Run
, run
, get.y0.concs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.