Learn R Programming

vein (version 1.1.3)

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

Description

moves_rpdy_meta estimates running exhaust emissions using MOVES emission factors.

Usage

moves_rpdy_meta(
  metadata,
  lkm,
  ef,
  fuel_type,
  speed_bin,
  profile,
  agemax = 31,
  net,
  simplify = TRUE,
  verbose = FALSE
)

Value

a list with emissions at each street and data.base aggregated by categories.

Arguments

metadata

data.frame with the metadata for a vein project for MOVES.

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

agemax

Integer; max age for the fleet, assuming the same for all vehicles.

net

Road network class sf

simplify

Logical, to return the whole object or processed by streets and veh

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