moves_rpd: MOVES estimation of using rates per distance

View source: R/moves_rpd.R

moves_rpdR Documentation

MOVES estimation of using rates per distance

Description

moves_rpd estimates running exhaust emissions using MOVES emission factors.

Usage

moves_rpd(
  veh,
  lkm,
  ef,
  fuel_type,
  speed_bin,
  profile,
  source_type_id = 21,
  fuel_type_id = 1,
  pollutant_id = 91,
  road_type_id = 5,
  process_id = 1,
  vehicle = NULL,
  vehicle_type = NULL,
  fuel_subtype = NULL,
  net,
  path_all,
  verbose = FALSE
)

Arguments

veh

"Vehicles" data-frame or list of "Vehicles" data-frame. Each data-frame as number of columns matching the age distribution of that ype of vehicle. The number of rows is equal to the number of streets link.

lkm

Length of each link in miles

ef

emission factors from EmissionRates_running exported from MOVES

fuel_type

Data.frame of fuelSubtypeID exported by MOVES.

speed_bin

Data.frame or vector of avgSpeedBinID as defined by MOVES.

profile

Data.frame or Matrix with nrows equal to 24 and ncol 7 day of the week

source_type_id

Number to identify type of vehicle as defined by MOVES.

fuel_type_id

Number to identify type of fuel as defined by MOVES.

pollutant_id

Number to identify type of pollutant as defined by MOVES.

road_type_id

Number to identify type of road as defined by MOVES.

process_id

Number to identify type of pollutant as defined by MOVES.

vehicle

Character, type of vehicle

vehicle_type

Character, subtype of vehicle

fuel_subtype

Character, subtype of vehicle

net

Road network class sf

path_all

Character to export whole estimation. It is not recommended since it is usually too heavy.

verbose

Logical; To show more information. Not implemented yet

Value

a list with emissions at each street and data.base aggregated by categories. See link{emis_post}

Note

'decoder' shows a decoder for MOVES

Examples

{
data(decoder)
decoder
}

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