Package: vein 1.1.4

Sergio Ibarra-Espinosa

vein: Vehicular Emissions Inventories

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) <doi:10.5194/gmd-11-2209-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.

Authors:Sergio Ibarra-Espinosa [aut, cre], Daniel Schuch [ctb], Joao Bazzo [ctb], Mario Gavidia-Calderón [ctb], Karl Ropkins [ctb]

vein_1.1.4.tar.gz
vein_1.1.4.zip(r-4.5)vein_1.1.4.zip(r-4.4)vein_1.1.4.zip(r-4.3)
vein_1.1.4.tgz(r-4.4-x86_64)vein_1.1.4.tgz(r-4.4-arm64)vein_1.1.4.tgz(r-4.3-x86_64)vein_1.1.4.tgz(r-4.3-arm64)
vein_1.1.4.tar.gz(r-4.5-noble)vein_1.1.4.tar.gz(r-4.4-noble)
vein_1.1.4.tgz(r-4.4-emscripten)vein_1.1.4.tgz(r-4.3-emscripten)
vein.pdf |vein.html
vein/json (API)
NEWS

# Install 'vein' in R:
install.packages('vein', repos = c('https://atmoschem.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/atmoschem/vein/issues

Uses libs:
  • openmp– GCC OpenMP (GOMP) support library
Datasets:
  • decoder - Description data.frame for MOVES
  • fe2015 - Emission factors from Environmental Agency of Sao Paulo CETESB
  • fkm - List of functions of mileage in km fro Brazilian fleet
  • net - Road network of the west part of Sao Paulo city
  • pc_cold - Profile of Vehicle start patterns
  • pc_profile - Profile of traffic data 24 hours 7 n days of the week
  • pollutants - Data.frame with pollutants names and molar mass used in VEIN
  • profiles - Profile of traffic data 24 hours 7 n days of the week

On CRAN:

atmoschematmospheric-chemistryatmospheric-scienceatmospheric-sciencesemissionsemissions-modelvehicular-emissions-inventoriesvein

8.56 score 44 stars 139 scripts 526 downloads 98 exports 16 dependencies

Last updated 10 days agofrom:336bbc6744. Checks:OK: 3 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 13 2024
R-4.5-win-x86_64OKNov 13 2024
R-4.5-linux-x86_64OKNov 13 2024
R-4.4-win-x86_64NOTENov 13 2024
R-4.4-mac-x86_64NOTENov 13 2024
R-4.4-mac-aarch64NOTENov 13 2024
R-4.3-win-x86_64NOTENov 13 2024
R-4.3-mac-x86_64NOTENov 13 2024
R-4.3-mac-aarch64NOTENov 13 2024

Exports:add_lkmadd_milesadd_polidaddscaleadtageage_hdvage_ldvage_motoawcelsiuscheck_ntcold_mileagecolplotdmonthef_cetesbef_chinaef_china_detef_china_hef_china_huef_china_longef_china_sef_china_speedef_china_teef_china_thef_eeaef_emfacef_evapef_funef_hdv_scaledef_hdv_speedef_imef_ldv_coldef_ldv_cold_listef_ldv_scaledef_ldv_speedef_localef_nitroef_wearef_wheemisemis_chememis_chem2emis_chinaemis_coldemis_cold_tdemis_detemis_distemis_emfacemis_evapemis_evap2emis_gridemis_hot_tdemis_longemis_mergeemis_orderemis_pavedemis_postemis_to_streetsemis_wearEmissionFactorsEmissionFactorsListEmissionsEmissionsArrayEmissionsListEvaporativefuel_corrget_ef_refget_projectgrid_emisGriddedEmissionsArrayhot_soakinvcopinventorylong_to_widemake_gridmoves_efmoves_rpdmoves_rpdymoves_rpdy_metamoves_rpdy_sfmoves_rpsy_metamoves_rpsy_sfmoves_speedmy_agenetspeedremove_unitsrunning_lossesspeciateSpeedsplit_emistemp_facttemp_vehto_latexVehiclesvein_notesvkmwide_to_long

Dependencies:classclassIntcptcitydata.tableDBIdotCall64e1071KernSmoothmagrittrMASSproxyRcpps2sfunitswk

Basics for running VEIN

Rendered frombasics.Rmdusingknitr::rmarkdownon Nov 13 2024.

Last update: 2020-11-24
Started: 2020-09-24

Readme and manuals

Help Manual

Help pageTopics
Construction function to add unit kmadd_lkm
Construction function to add unit milesadd_miles
Add polygon id to lines road networkadd_polid
function to add a scale to a image plotaddscale
Average daily traffic (ADT) from hourly traffic data.adt
Applies a survival rate to numeric new vehiclesage
Returns amount of vehicles at each ageage_hdv
Returns amount of vehicles at each ageage_ldv
Returns amount of vehicles at each ageage_moto
Average Weight for hourly traffic data.aw
Construction function for Celsius temperaturecelsius
Check the max number of threadscheck_nt
Fraction of mileage driven with a cold engine or catalizer below normal temperaturecold_mileage
Function to plot columns of data.framescolplot
Description data.frame for MOVESdecoder
Number of days of the monthdmonth
Emissions factors for Environment Company of Sao Paulo, Brazil (CETESB)ef_cetesb
Emissions factors from Chinese emissions guidelinesef_china
Correction of Chinese emission factors by deteriorationef_china_det
Correction of Chinese factors by altitudeef_china_h
Correction of Chinese emission factors by humidityef_china_hu
Chinese emission factors by emissions standardef_china_long
Correction of Chinese emission factors by sulfuref_china_s
Correction of Chinese emission factors by speedef_china_speed
Correction of Chinese emission factors by temperatureef_china_te
Correction of Chinese factors by humidity when temperature > 24ef_china_th
Emissions factors from European European Environment Agencyef_eea
Emission Factors from EMFAC emission factorsef_emfac
Evaporative emission factoref_evap
Experimental: Returns a function of Emission Factor by age of useef_fun
Scaling constant with speed emission factors of Heavy Duty Vehiclesef_hdv_scaled
Emissions factors for Heavy Duty Vehicles based on average speedef_hdv_speed
Emission factors deoending on accumulated mileageef_im
Cold-Start Emissions factors for Light Duty Vehiclesef_ldv_cold
List of cold start emission factors of Light Duty Vehiclesef_ldv_cold_list
Scaling constant with speed emission factors of Light Duty Vehiclesef_ldv_scaled
Emissions factors for Light Duty Vehicles and Motorcyclesef_ldv_speed
Local Emissions factorsef_local
Emissions factors of N2O and NH3ef_nitro
Emissions factors from tyre, break and road surface wearef_wear
Emission factor that incorporates the effect of high emittersef_whe
Estimation of emissionsemis
(in development, needs checks) Aggregate emissions by lumped groups in chemical mechanismemis_chem
Aggregate emissions by lumped groups in chemical mechanismemis_chem2
Estimation with Chinese factorsemis_china
Estimation of cold start emissions hourly for the of the weekemis_cold
Estimation of cold start emissions with top-down approachemis_cold_td
Determine deterioration factors for urban conditionsemis_det
Allocate emissions into spatial objects (street emis to grid)emis_dist
Emission calculation based on EMFAC emission factorsemis_emfac
Estimation of evaporative emissionsemis_evap
Estimation of evaporative emissions 2emis_evap2
Allocate emissions into a grid returning point emissions or fluxemis_grid
Estimation of hot exhaust emissions with a top-down approachemis_hot_td
Estimation with long formatemis_long
Merge several emissions files returning data-frames or 'sf' of linesemis_merge
Re-order the emission to match specific hours and daysemis_order weekly
Estimation of resuspension emissions from paved roadsemis_paved
Post emissionsemis_post
Emis to streets distribute top-down emissions into streetsemis_to_streets
Emission estimation from tyre, brake and road surface wearemis_wear
Construction function for class "EmissionFactors"EmissionFactors plot.EmissionFactors print.EmissionFactors summary.EmissionFactors
Construction function for class "EmissionFactorsList"EmissionFactorsList plot.EmissionFactorsList print.EmissionFactorsList summary.EmissionFactorsList
Construction function for class "Emissions"Emissions plot.Emissions print.Emissions summary.Emissions
Construction function for class "EmissionsArray"EmissionsArray plot.EmissionsArray print.EmissionsArray summary.EmissionsArray
Emission factors from Environmental Agency of Sao Paulo CETESBfe2015
List of functions of mileage in km fro Brazilian fleetfkm
Correction due Fuel effectsfuel_corr
Get ef reference dataget_ef_ref
Download vein projectget_project
Allocate emissions gridded emissions into streets (grid to emis street)grid_emis
Construction function for class "GriddedEmissionsArray"GriddedEmissionsArray plot.GriddedEmissionsArray print.GriddedEmissionsArray summary.GriddedEmissionsArray
Helper function to copy and zip projectsinvcop
Inventory function.inventory
Transform data.frame from long to wide formatlong_to_wide
Creates rectangular grid for emission allocationmake_grid
MOVES emission factorsmoves_ef
MOVES estimation of using rates per distancemoves_rpd
MOVES estimation of using rates per distance by model yearmoves_rpdy
MOVES estimation of using rates per distance by model yearmoves_rpdy_meta
MOVES estimation of using rates per distance by model yearmoves_rpdy_sf
MOVES estimation of using rates per start by model yearmoves_rpsy_meta
MOVES estimation of using rates per start by model yearmoves_rpsy_sf
Return speed bins according to US/EPA MOVES modelmoves_speed
Returns amount of vehicles at each agemy_age
Road network of the west part of Sao Paulo citynet
Calculate speeds of traffic networknetspeed
Profile of Vehicle start patternspc_cold
Profile of traffic data 24 hours 7 n days of the weekpc_profile
Data.frame with pollutants names and molar mass used in VEINpollutants
Profile of traffic data 24 hours 7 n days of the weekprofiles
Remove unitsremove_units
Speciation of emissionsspeciate
Construction function for class "Speed"plot.Speed print.Speed Speed summary.Speed
Split street emissions based on a gridsplit_emis
Expansion of hourly traffic datatemp_fact
Expanded Vehicles data.frame by hourtemp_veh
creates a .tex a table from a data.frameto_latex
Construction function for class "Vehicles"plot.Vehicles print.Vehicles summary.Vehicles Vehicles
Notes with sysinfovein_notes
Estimation of VKMvkm
Transform data.frame from wide to long formatwide_to_long