emis_emfac: Emission calculation based on EMFAC emission factors

View source: R/emis_emfac.R

emis_emfacR Documentation

Emission calculation based on EMFAC emission factors

Description

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

Usage

emis_emfac(
  ef,
  veh,
  lkm,
  speed,
  vehname,
  pol = "CO_RUNEX",
  modelyear = 2021:1982,
  noyear = 2022,
  hours = paste0("S", 1:24),
  vkm = TRUE,
  verbose = TRUE
)

Arguments

ef

Character path to EMFAC ef (g/miles)

veh

Vehicles data.frame

lkm

Distance per street-link in miles

speed

Speed data.frame in niles/hour

vehname

numeric vector for heavy good vehicles or trucks

pol

character, "CO_RUNEX"

modelyear

numeric vector, 2021:1982

noyear

newest numeric year to take out from ef

hours

Character, name of hours in speed, paste0("S", 1:24) data-frame profile for passenger cars, 24 hours only.

vkm

logical, to return vkm

verbose

logical, to show more information

Value

data.table with emission estimation in long format

Examples

## Not run: 
# do not run

## End(Not run)

vein documentation built on April 30, 2023, 1:10 a.m.