Learn R Programming

SplitR (version 0.4)

add_emissions: Add emissions parameters to a dispersion model

Description

Add a set of emissions parameters to a dispersion model object. Multiple sets of emissions parameters can can be added to a single dispersion model object.

Usage

add_emissions(model, rate = NULL, duration = NULL, start_day = NULL,
  start_hour = NULL, name = NULL)

Arguments

model

a SplitR modeling object.

rate

the rate of emissions for the pollutant in mass units per hour.

duration

the duration of emissions in hours.

start_day

the day that the emissions will begin. This should take the form of a single-length vector for a day ("YYYY-MM-DD").

start_hour

a single daily hour as an integer hour (from 0 to 23).

name

an identifier for the group of emissions parameters.