Learn R Programming

⚠️There's a newer version (1.3.0) of this package.Take me there.

vein (version 1.0.2)

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

372

Version

1.0.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Sergio Espinosa

Last Published

April 29th, 2023

Functions in vein (1.0.2)

adt

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

function to add a scale to a image plot
aw

Average Weight for hourly traffic data.
age

Applies a survival rate to numeric new vehicles
age_hdv

Returns amount of vehicles at each age
check_nt

Check the max number of threads
cold_mileage

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

Construction function for Celsius temperature
age_ldv

Returns amount of vehicles at each age
age_moto

Returns amount of vehicles at each age
ef_china

Emissions factors from Chinese emissions guidelines
ef_china_h

Correction of Chinese factors by altitude
ef_china_det

Correction of Chinese emission factors by deterioration
ef_china_hu

Correction of Chinese emission factors by humidity
ef_china_long

Chinese emission factors by emissions standard
colplot

Function to plot columns of data.frames
decoder

Description data.frame for MOVES
dmonth

Number of days of the month
ef_china_te

Correction of Chinese emission factors by temperature
ef_china_speed

Correction of Chinese emission factors by speed
ef_im

Emission factors deoending on accumulated mileage
ef_china_s

Correction of Chinese emission factors by sulfur
ef_fun

Experimental: Returns a function of Emission Factor by age of use
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_cetesb

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

Emission Factors from EMFAC emission factors
ef_china_th

Correction of Chinese factors by humidity when temperature > 24
ef_eea

Emissions factors from European European Environment Agency
ef_evap

Evaporative emission factor
ef_ldv_cold_list

List of cold start emission factors of Light Duty Vehicles
ef_ldv_scaled

Scaling constant with speed emission factors of Light Duty Vehicles
ef_ldv_cold

Cold-Start Emissions factors for Light Duty Vehicles
ef_ldv_speed

Emissions factors for Light Duty Vehicles and Motorcycles
emis_chem

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

Estimation of emissions
ef_local

Local Emissions factors
ef_nitro

Emissions factors of N2O and NH3
emis_emfac

Emission calculation based on EMFAC emission factors
ef_wear

Emissions factors from tyre, break and road surface wear
emis_evap2

Estimation of evaporative emissions 2
ef_whe

Emission factor that incorporates the effect of high emitters
emis_det

Determine deterioration factors for urban conditions
emis_grid

Allocate emissions into a grid returning point emissions or flux
emis_china

Estimation with Chinese factors
emis_chem2

Aggregate emissions by lumped groups in chemical mechanism
emis_cold

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

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

Estimation of hot exhaust emissions with a top-down approach
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_cold_td

Estimation of cold start emissions with top-down approach
emis_long

Estimation with long format
emis_paved

Estimation of resuspension emissions from paved roads
fkm

List of functions of mileage in km fro Brazilian fleet
fe2015

Emission factors from Environmental Agency of Sao Paulo CETESB
emis_evap

Estimation of evaporative emissions
emis_to_streets

Emis to streets distribute top-down emissions into streets
emis_wear

Emission estimation from tyre, brake and road surface wear
fuel_corr

Correction due Fuel effects
net

Road network of the west part of Sao Paulo city
get_project

Download vein project
make_grid

Creates rectangular grid for emission allocation
moves_rpsy_meta

MOVES estimation of using rates per start by model year
moves_rpsy_sf

MOVES estimation of using rates per start by model year
invcop

Helper function to copy and zip projects
grid_emis

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

Calculate speeds of traffic network
moves_ef

MOVES emission factors
profiles

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

Inventory function.
emis_post

Post emissions
pollutants

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

MOVES estimation of using rates per distance
long_to_wide

Transform data.frame from long to wide format
moves_rpdy

MOVES estimation of using rates per distance by model year
running_losses-deprecated

Estimation of average daily hot-soak evaporative emissions
pc_cold

Profile of Vehicle start patterns
pc_profile

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

Remove units
moves_speed

Return speed bins according to US/EPA MOVES model
moves_rpdy_meta

MOVES estimation of using rates per distance by model year
moves_rpdy_sf

MOVES estimation of using rates per distance by model year
temp_fact

Expansion of hourly traffic data
speciate

Speciation of emissions
temp_veh

Expanded Vehicles data.frame by hour
vein_notes

Notes with sysinfo
vein-package

vein: Vehicular Emissions Inventories
split_emis

Split street emissions based on a grid
my_age

Returns amount of vehicles at each age
vkm

Estimation of VKM
vein-deprecated

DEPRECATED Construction function for class "EmissionsList"
to_latex

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

Transform data.frame from wide to long format
add_miles

Construction function to add unit miles
Speed

Construction function for class "Speed"
EmissionFactorsList

Construction function for class "EmissionFactorsList"
EmissionsArray

Construction function for class "EmissionsArray"
EmissionFactors

Construction function for class "EmissionFactors"
GriddedEmissionsArray

Construction function for class "GriddedEmissionsArray"
Emissions

Construction function for class "Emissions"
add_polid

Add polygon id to lines road network
add_lkm

Construction function to add unit km
Vehicles

Construction function for class "Vehicles"