genModel: Model Parameters

View source: R/genModel.R

genModelR Documentation

Model Parameters

Description

Generate a data.frame defining (global) model specific data.

Usage

genModel(kv = 0.4, A = 0.5, alpha = 0.02, wTDcutoff = 1E-4, TDwrite = TRUE,
  overwriteTD = TRUE, TDread = TRUE, TDonly = FALSE, ncores = 1)

Arguments

kv

von-Karman constant.

A

scaling constant. (see Flesch et al. (2004))

alpha

time step fraction of the velocity decorrelation time scale. note: alpha > 10^-3

wTDcutoff

cutoff velocity used as lower bound of calculated touchdown velocities.

TDwrite

logical. Should touchdown catalogs be saved?

overwriteTD

logical. Should existing touchdowns catalogs be overwritten?

TDread

logical. Check for existing touchdown catalogs?

TDonly

logical. Skip calculation of C/E etc., only simulate touchdown catalogs? Default is FALSE.

ncores

integer. Number of cores used for parallel processing.

Value

a list with the above defined model specifications. These model parameters are used ‘globally’, i.e. for all intervals, in the specified model run.

Author(s)

Christoph Haeni

References

Flesch, T. K., J. D. Wilson, et al. (2004). “Deducing ground-to-air emissions from observed trace gas concentrations: A field trial.” Journal of Applied Meteorology 43(3): 487-502.

See Also

genInputList, genInterval, genSensors, genSources, genTolerances, runbLS, bLSmodelR-package.

Examples

## Not run: 
## defaults:
genModel()

## End(Not run)

ChHaeni/bLSmodelR documentation built on Dec. 5, 2024, 8:47 a.m.