Learn R Programming

vein (version 1.1.3)

Vehicular Emissions Inventories

Description

Elaboration of vehicular emissions inventories, consisting in four stages, pre-processing activity data, preparing emissions factors, estimating the emissions and post-processing of emissions in maps and databases. More details in Ibarra-Espinosa et al (2018) . Before using VEIN you need to know the vehicular composition of your study area, in other words, the combination of of type of vehicles, size and fuel of the fleet. Then, it is recommended to start with the project to download a template to create a structure of directories and scripts.

Copy Link

Version

Install

install.packages('vein')

Monthly Downloads

529

Version

1.1.3

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

May 1st, 2024

Functions in vein (1.1.3)

adt

Average daily traffic (ADT) from hourly traffic data.
age_ldv

Returns amount of vehicles at each age
cold_mileage

Fraction of mileage driven with a cold engine or catalizer below normal temperature
celsius

Construction function for Celsius temperature
addscale

function to add a scale to a image plot
aw

Average Weight for hourly traffic data.
age_moto

Returns amount of vehicles at each age
age

Applies a survival rate to numeric new vehicles
age_hdv

Returns amount of vehicles at each age
ef_china_long

Chinese emission factors by emissions standard
dmonth

Number of days of the month
ef_china_s

Correction of Chinese emission factors by sulfur
ef_china_det

Correction of Chinese emission factors by deterioration
ef_china_h

Correction of Chinese factors by altitude
colplot

Function to plot columns of data.frames
ef_cetesb

Emissions factors for Environment Company of Sao Paulo, Brazil (CETESB)
ef_china_hu

Correction of Chinese emission factors by humidity
decoder

Description data.frame for MOVES
ef_china

Emissions factors from Chinese emissions guidelines
ef_china_speed

Correction of Chinese emission factors by speed
ef_fun

Experimental: Returns a function of Emission Factor by age of use
ef_china_te

Correction of Chinese emission factors by temperature
ef_emfac

Emission Factors from EMFAC emission factors
ef_im

Emission factors deoending on accumulated mileage
ef_evap

Evaporative emission factor
ef_hdv_speed

Emissions factors for Heavy Duty Vehicles based on average speed
ef_hdv_scaled

Scaling constant with speed emission factors of Heavy Duty Vehicles
ef_eea

Emissions factors from European European Environment Agency
ef_china_th

Correction of Chinese factors by humidity when temperature > 24
emis

Estimation of emissions
ef_local

Local Emissions factors
ef_wear

Emissions factors from tyre, break and road surface wear
ef_ldv_cold_list

List of cold start emission factors of Light Duty Vehicles
ef_ldv_cold

Cold-Start Emissions factors for Light Duty Vehicles
ef_ldv_scaled

Scaling constant with speed emission factors of Light Duty Vehicles
emis_chem

(in development, needs checks) Aggregate emissions by lumped groups in chemical mechanism
ef_ldv_speed

Emissions factors for Light Duty Vehicles and Motorcycles
ef_nitro

Emissions factors of N2O and NH3
ef_whe

Emission factor that incorporates the effect of high emitters
emis_det

Determine deterioration factors for urban conditions
emis_cold

Estimation of cold start emissions hourly for the of the week
emis_grid

Allocate emissions into a grid returning point emissions or flux
emis_evap2

Estimation of evaporative emissions 2
emis_chem2

Aggregate emissions by lumped groups in chemical mechanism
emis_evap

Estimation of evaporative emissions
emis_cold_td

Estimation of cold start emissions with top-down approach
emis_emfac

Emission calculation based on EMFAC emission factors
emis_china

Estimation with Chinese factors
emis_dist

Allocate emissions into spatial objects (street emis to grid)
emis_to_streets

Emis to streets distribute top-down emissions into streets
emis_wear

Emission estimation from tyre, brake and road surface wear
emis_paved

Estimation of resuspension emissions from paved roads
emis_hot_td

Estimation of hot exhaust emissions with a top-down approach
fe2015

Emission factors from Environmental Agency of Sao Paulo CETESB
emis_long

Estimation with long format
emis_order

Re-order the emission to match specific hours and days
emis_merge

Merge several emissions files returning data-frames or 'sf' of lines
emis_post

Post emissions
fkm

List of functions of mileage in km fro Brazilian fleet
invcop

Helper function to copy and zip projects
inventory

Inventory function.
get_project

Download vein project
fuel_corr

Correction due Fuel effects
netspeed

Calculate speeds of traffic network
get_ef_ref

Get ef reference data
grid_emis

Allocate emissions gridded emissions into streets (grid to emis street)
pc_cold

Profile of Vehicle start patterns
moves_rpd

MOVES estimation of using rates per distance
moves_rpsy_sf

MOVES estimation of using rates per start by model year
moves_rpsy_meta

MOVES estimation of using rates per start by model year
moves_ef

MOVES emission factors
moves_speed

Return speed bins according to US/EPA MOVES model
moves_rpdy_sf

MOVES estimation of using rates per distance by model year
net

Road network of the west part of Sao Paulo city
my_age

Returns amount of vehicles at each age
speciate

Speciation of emissions
to_latex

creates a .tex a table from a data.frame
pollutants

Data.frame with pollutants names and molar mass used in VEIN
split_emis

Split street emissions based on a grid
make_grid

Creates rectangular grid for emission allocation
pc_profile

Profile of traffic data 24 hours 7 n days of the week
vkm

Estimation of VKM
wide_to_long

Transform data.frame from wide to long format
moves_rpdy

MOVES estimation of using rates per distance by model year
long_to_wide

Transform data.frame from long to wide format
profiles

Profile of traffic data 24 hours 7 n days of the week
vein-deprecated

Deprecated functions in package vein.
moves_rpdy_meta

MOVES estimation of using rates per distance by model year
temp_fact

Expansion of hourly traffic data
vein-package

vein: Vehicular Emissions Inventories
vein_notes

Notes with sysinfo
remove_units

Remove units
temp_veh

Expanded Vehicles data.frame by hour
Vehicles

Construction function for class "Vehicles"
EmissionsArray

Construction function for class "EmissionsArray"
Emissions

Construction function for class "Emissions"
EmissionFactors

Construction function for class "EmissionFactors"
add_miles

Construction function to add unit miles
EmissionFactorsList

Construction function for class "EmissionFactorsList"
add_lkm

Construction function to add unit km
add_polid

Add polygon id to lines road network
GriddedEmissionsArray

Construction function for class "GriddedEmissionsArray"
Speed

Construction function for class "Speed"
check_nt

Check the max number of threads