Calculate hot exhaust emissions by multiplying emission factors by distances weighted by fleet composition profile.
multiply_ef(
fleet_composition,
dist,
ef,
aggregate = TRUE,
prefix = NULL,
as_list = TRUE
)units ('g'); emissions per link.
vector; Fleet composition, which is a distribution of fleet based on frequency. If there is only one, 'fleet_composition' is 1.0.
units ('km'); Length of each link in km.
list or data.table; Emission factors.
logical; if TRUE (default) emissions are aggregated by pollutant.
character; Add prefix into emissions names. Missing parameter (default) means empty prefix.
logical. If TRUE (default), the function returns the output
in a list format. If FALSE, the output is returned in a data.table
format.