Learn R Programming

vein (version 1.1.3)

moves_rpdy: MOVES estimation of using rates per distance by model year

Description

moves_rpdy estimates running exhaust emissions using MOVES emission factors.

Usage

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

Value

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

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

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.

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

vehicle

Character, type of vehicle

vehicle_type

Character, subtype of vehicle

fuel_subtype

Character, subtype of vehicle

process_id

Character, processID

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

Examples

Run this code
{
data(decoder)
decoder
}

Run the code above in your browser using DataLab