emis_emfac estimates emissions based on an emission factors database from EMFAC.You must download the emission factors from EMFAC website.

emis_emfac(
  ef,
  veh,
  lkm,
  tfs,
  speed,
  vehname,
  pol = "CO_RUNEX",
  modelyear = 2021:1982,
  vkm = TRUE,
  verbose = TRUE
)

Arguments

ef

data.frame or character path to EMFAC ef (g/miles)

veh

Vehicles data.frame

lkm

Distance per street-link in miles

tfs

vector to project activity by hour

speed

Speed data.frame in miles/hour

vehname

numeric vector for heavy good vehicles or trucks

pol

character, "CO_RUNEX"

modelyear

numeric vector, 2021:1982

vkm

logical, to return vkm

verbose

logical, to show more information

Value

data.table with emission estimation in long format

Note

Emission factors must be in g/miles

Examples

if (FALSE) { # \dontrun{
# do not run
} # }