ef_im: Emission factors deoending on accumulated mileage

View source: R/ef_im.R

ef_imR Documentation

Emission factors deoending on accumulated mileage

Description

ef_im calculate the theoretical emission factors of vehicles. The approache is different from including deterioration factors (emis_det) but similar, because they represent how much emits a vehicle with a normal deterioration, but that it will pass the Inspection and Manteinance program.

Usage

ef_im(ef, tc, amileage, max_amileage, max_ef, verbose = TRUE)

Arguments

ef

Numeric; emission factors of vehicles with 0 mileage (new vehicles).

tc

Numeric; rate of growth of emissions by year of use.

amileage

Numeric; Accumulated mileage by age of use.

max_amileage

Numeric; Max accumulated mileage. This means that after this value, mileage is constant.

max_ef

Numeric; Max ef. This means that after this value, ef is constant.

verbose

Logical; if you want detailed description.

Value

An emission factor of a deteriorated vehicle under normal conditions which would be approved in a inspection and mantainence program.

Examples

## Not run: 
# Do not run
# Passenger Cars PC
data(fkm)
# cumulative mileage from 1 to 50 years of use, 40:50
mil <- cumsum(fkm$KM_PC_E25(1:10))
ef_im(ef = seq(0.1, 2, 0.2), seq(0.1, 1, 0.1), mil)

## End(Not run)

vein documentation built on May 29, 2024, 7:20 a.m.