Learn R Programming

PuffR (version 0.1)

calpuff_15_line_source_params: Set one or more CALPUFF line source parameters

Description

This function validates and writes CALPUFF line source parameters.

Usage

calpuff_15_line_source_params(calpuff_inp = "calpuff_template.txt",
  nln2 = NULL, nlines = NULL, ilnu = NULL, nsln1 = NULL,
  mxnseg = NULL, nlrise = NULL, xl = NULL, hbl = NULL, wbl = NULL,
  wml = NULL, dxl = NULL, fprimel = NULL, lnsource_params = NULL)

Arguments

calpuff_inp
the absolute path and filename for the working CALPUFF input file.
nln2
the number of buoyant line sources with variable location and emission parameters.
nlines
the number of buoyant line sources.
ilnu
the units used for line source emissions, where the possible selections are: (1) "g/s", (2) "kg/hr", (3) "lb/hr", (4) "tons/yr", (5) "Odour Unit * m^3/s", (6) "Odour Unit * m^3/min", and (7) "metric tons/yr".
nsln1
the number of source-species combinations with variable emissions scaling factors.
mxnseg
the maximum number of line segments to model each line.
nlrise
the number of distances at which transitional rise is computed.
xl
the average building length in meters.
hbl
the average building height in meters.
wbl
the average building width in meters.
wml
the average line source width in meters.
dxl
the average separation between buildings in meters.
fprimel
the average buoyancy parameter, in units of m^4/s^3
lnsource_params