diff --git a/.Rbuildignore b/.Rbuildignore index f87f2c45..78b9865e 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -14,3 +14,4 @@ ^README.md$ ^.github$ ^all_comp.gif$ +^pkgdown$ diff --git a/docs/404.html b/docs/404.html index 6a115398..dce69650 100644 --- a/docs/404.html +++ b/docs/404.html @@ -15,13 +15,11 @@ - - @@ -41,14 +39,13 @@ - + - @@ -95,6 +92,7 @@ Changelog +
@@ -127,7 +125,7 @@EmissionFactors
returns a tranformed object with class
"EmissionFactors" and units g/km.
EmissionFactors(x, ...) @@ -132,7 +133,7 @@- +Construction function for class "EmissionFactors"
# S3 method for EmissionFactors plot(x, ...)
Object with class "EmissionFactors" |
Objects of class "EmissionFactors" or "units"
+diff --git a/docs/reference/EmissionFactorsList.html b/docs/reference/EmissionFactorsList.html index fe0f7a5a..63931f39 100755 --- a/docs/reference/EmissionFactorsList.html +++ b/docs/reference/EmissionFactorsList.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,8 +117,10 @@
EmissionFactorsList
returns a tranformed object with
class"EmissionsFactorsList".
EmissionFactorsList(x, ...) @@ -132,7 +133,7 @@- +Construction function for class "EmissionFactorsList"
# S3 method for EmissionFactorsList plot(x, ...)
Object with class "EmissionFactorsList" |
Objects of class "EmissionFactorsList"
+diff --git a/docs/reference/Emissions.html b/docs/reference/Emissions.html index c2104519..33c8e28b 100755 --- a/docs/reference/Emissions.html +++ b/docs/reference/Emissions.html @@ -15,13 +15,11 @@ - - @@ -41,18 +39,18 @@ - + + - @@ -99,6 +97,7 @@ Changelog +@@ -120,10 +119,12 @@
Emissions
returns a tranformed object with class "Emissions".
The type of objects supported are of classes "matrix", "data.frame" and
"numeric". If the class of the object is "matrix" this function returns a
dataframe.
Emissions(x, ...) @@ -136,7 +137,7 @@- +Construction function for class "Emissions"
# S3 method for Emissions plot(x, ...)
object with class "Emissions" |
Objects of class "Emissions" or "units"
+diff --git a/docs/reference/EmissionsArray.html b/docs/reference/EmissionsArray.html index 7a6e4432..8e3b26a3 100755 --- a/docs/reference/EmissionsArray.html +++ b/docs/reference/EmissionsArray.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,8 +117,10 @@
EmissionsArray
returns a tranformed object with class
"EmissionsArray" with 4 dimensios.
EmissionsArray(x, ...) @@ -132,7 +133,7 @@- +Construction function for class "EmissionsArray"
# S3 method for EmissionsArray plot(x, ...)
object with class "EmissionsArray' |
Objects of class "EmissionsArray"
+Future version of this function will return an Array of 3 dimensions.
+diff --git a/docs/reference/GriddedEmissionsArray.html b/docs/reference/GriddedEmissionsArray.html index 027b3741..137b21ea 100644 --- a/docs/reference/GriddedEmissionsArray.html +++ b/docs/reference/GriddedEmissionsArray.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,8 +117,10 @@
GriddedEmissionsArray
returns a tranformed object with class
"EmissionsArray" with 4 dimensios.
GriddedEmissionsArray(x, ..., cols, rows, times = ncol(x), @@ -133,7 +134,7 @@- +Construction function for class "GriddedEmissionsArray"
# S3 method for GriddedEmissionsArray plot(x, ..., times = 1)
object with class "EmissionsArray' |
Objects of class "GriddedEmissionsArray"
+@@ -219,7 +221,9 @@if (FALSE) { @@ -211,7 +213,7 @@Examp plot(gr) # For some cptcity color gradients: -devtools::install_github("ibarraespinosa/cptcity") +devtools::install_github("ibarraespinosa/cptcity") plot(gr, col = cptcity::cptcity(1)) }
Speed
returns a tranformed object with class "Speed" and units
km/h. This functions includes two arguments, distance and time. Therefore,
it is posibel to change the units of the speed to "m" to "s" for example.
This function returns a dataframe with units for speed. When this function
is applied to numeric vectors it add class "units".
Speed(x, ...) @@ -138,7 +139,7 @@- +Construction function for class "Speed"
# S3 method for Speed plot(x, ...)
Object with class "Speed" |
Constructor for class "Speed" or "units"
+diff --git a/docs/reference/Vehicles.html b/docs/reference/Vehicles.html index 3907a39b..0838cd4f 100755 --- a/docs/reference/Vehicles.html +++ b/docs/reference/Vehicles.html @@ -15,13 +15,11 @@ - - @@ -41,18 +39,18 @@ - + + - @@ -99,6 +97,7 @@ Changelog +@@ -120,10 +119,12 @@
Vehicles
returns a tranformed object with class "Vehicles" and units
'veh'. The type of objects supported are of classes "matrix", "data.frame",
"numeric" and "array". If the object is a matrix it is converted to data.frame.
If the object is "numeric" it is converted to class "units".
Vehicles(x, ...) @@ -136,7 +137,7 @@- +Construction function for class "Vehicles"
# S3 method for Vehicles plot(x, ..., message = TRUE)
message with average age |
Objects of class "Vehicles" or "units"
+diff --git a/docs/reference/add_polid.html b/docs/reference/add_polid.html index 5f6d4e51..4bee95f4 100644 --- a/docs/reference/add_polid.html +++ b/docs/reference/add_polid.html @@ -15,13 +15,11 @@ - - @@ -41,17 +39,17 @@ - + + - @@ -98,6 +96,7 @@ Changelog +@@ -119,13 +118,15 @@
Sometimes you need to add polygon id into your streets road network.
add_polid
add add_polid id into your road network cropping your
network by
add_polid(polyg, street, by)- +
Character indicating the column woith the id in polyg |
diff --git a/docs/reference/adt.html b/docs/reference/adt.html index 46ce534c..29af6c1e 100644 --- a/docs/reference/adt.html +++ b/docs/reference/adt.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,13 +117,15 @@
adt
calculates ADT based on hourly traffic data. The
input traffic data is usually for morning rush hours.
adt(pc, lcv, hgv, bus, mc, p_pc, p_lcv, p_hgv, p_bus, p_mc, expanded = FALSE)- +
boolean argument for returning numeric vector or "Vehicles" |
numeric vector of total volume of traffic per link, or data-frames of expanded traffic
+diff --git a/docs/reference/age.html b/docs/reference/age.html index 52f96546..dbdd4002 100644 --- a/docs/reference/age.html +++ b/docs/reference/age.html @@ -15,13 +15,11 @@ - - @@ -41,15 +39,15 @@ - + + - @@ -96,6 +94,7 @@ Changelog +@@ -117,12 +116,14 @@
age
returns survived vehicles
age(x, type = "weibull", a = 14.46, b = 4.79, agemax, net, verbose = FALSE)- +
dataframe of age distrubution of vehicles
+The functions age* produce distribution of the circulating fleet by age of use. @@ -201,6 +203,7 @@
diff --git a/docs/reference/age_hdv.html b/docs/reference/age_hdv.html index f88d546d..4fe75bf4 100755 --- a/docs/reference/age_hdv.html +++ b/docs/reference/age_hdv.html @@ -15,13 +15,11 @@ - - @@ -41,15 +39,15 @@ - + + - @@ -96,6 +94,7 @@ Changelog +@@ -117,12 +116,14 @@
age_hdv
returns amount of vehicles at each age
age_hdv(x, name = "age", a = 0.2, b = 17, agemin = 1, agemax = 50, k = 1, bystreet = F, net, verbose = FALSE, namerows)- +
dataframe of age distrubution of vehicles at each street
+The functions age* produce distribution of the circulating fleet by age of use. @@ -188,6 +190,7 @@
diff --git a/docs/reference/age_ldv.html b/docs/reference/age_ldv.html index 27e58856..21ac1b5f 100755 --- a/docs/reference/age_ldv.html +++ b/docs/reference/age_ldv.html @@ -15,13 +15,11 @@ - - @@ -41,15 +39,15 @@ - + + - @@ -96,6 +94,7 @@ Changelog +@@ -117,12 +116,14 @@
age_ldv
returns amount of vehicles at each age
age_ldv(x, name = "age", a = 1.698, b = -0.2, agemin = 1, agemax = 50, k = 1, bystreet = F, net, verbose = FALSE, namerows)- +
dataframe of age distrubution of vehicles
+The functions age* produce distribution of the circulating fleet by age of use. @@ -190,6 +192,7 @@
It consists in a Gompertz equation with default parameters from 1 national emissions inventory for green housegases in Brazil, MCT 2006
+diff --git a/docs/reference/age_moto.html b/docs/reference/age_moto.html index 1f8702df..ddc0b8bc 100755 --- a/docs/reference/age_moto.html +++ b/docs/reference/age_moto.html @@ -15,13 +15,11 @@ - - @@ -41,15 +39,15 @@ - + + - @@ -96,6 +94,7 @@ Changelog +@@ -117,13 +116,15 @@
age_moto
returns amount of vehicles at each age
age_moto(x, name = "age", a = 0.2, b = 17, agemin = 1, agemax = 50, k = 1, bystreet = FALSE, net, verbose = FALSE, namerows)- +
dataframe of age distrubution of vehicles
+The functions age* produce distribution of the circulating fleet by age of use. @@ -189,6 +191,7 @@
diff --git a/docs/reference/celsius.html b/docs/reference/celsius.html index 54486e4b..3bfb032b 100644 --- a/docs/reference/celsius.html +++ b/docs/reference/celsius.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,12 +117,14 @@
celsius
jsut convert add unit celsius to different
R objects
celsius(x)- +
Object with class "data.frame", "matrix", "numeric" or "integer" |
Objects of class "data.frame" or "units"
+diff --git a/docs/reference/cold_mileage.html b/docs/reference/cold_mileage.html index db7aa956..578d7d05 100644 --- a/docs/reference/cold_mileage.html +++ b/docs/reference/cold_mileage.html @@ -15,13 +15,11 @@ - - @@ -41,17 +39,17 @@ - + + - @@ -98,6 +96,7 @@ Changelog +@@ -119,13 +118,15 @@
This function depends length of trip and on ambient temperature. From the guidelines EMEP/EEA air pollutant emission inventory guidebook http://www.eea.europa.eu/themes/air/emep-eea-air-pollutant-emission-inventory-guidebook
+cold_mileage(ltrip, ta)- +
This function is set so that values vaires between 0 and 1.
+diff --git a/docs/reference/ef_cetesb.html b/docs/reference/ef_cetesb.html index 9d7dd4c7..9ea444fb 100644 --- a/docs/reference/ef_cetesb.html +++ b/docs/reference/ef_cetesb.html @@ -15,13 +15,11 @@ - - @@ -41,15 +39,15 @@ - + + - @@ -96,6 +94,7 @@ Changelog +@@ -117,12 +116,14 @@
ef_cetesb
returns a vector or data.frame of Brazilian emission factors.
ef_cetesb(p, veh, year = 2017, agemax = 40, full = FALSE, project = "constant")- +
A vector of Emission Factor or a data.frame
+This emission factors are not exactly the same as the report of CETESB.
@@ -177,10 +179,12 @@3) CNG emission factors were expanded to other pollutants by comparison of US.EPA-AP42 emission factor: Section 1.4 Natural Gas Combustion.
+Emissoes Veiculares no Estado de Sao Paulo 2016. Technical Report. url: https://cetesb.sp.gov.br/veicular/relatorios-e-publicacoes/.
+diff --git a/docs/reference/ef_china.html b/docs/reference/ef_china.html index b7477554..59a6efc3 100644 --- a/docs/reference/ef_china.html +++ b/docs/reference/ef_china.html @@ -15,13 +15,11 @@ - - @@ -41,18 +39,18 @@ - + + - @@ -99,6 +97,7 @@ Changelog +@@ -120,17 +119,19 @@
ef_china
returns emission factors as vector or data.frames.
The emission factors comes from the chinese emission guidelines (v3) from the
Chinese Ministry of Ecology and Environment
http://www.mee.gov.cn/gkml/hbb/bgth/201407/W020140708387895271474.pdf
ef_china(v = "PV", t = "Small", f = "G", standard, p, k = 1, ta = celsius(15), humidity = 0.5, altitude = 1000, speed = Speed(30), baseyear_det = 2016, sulphur = 50, load_factor = 0.5, details = FALSE, correction_only = FALSE)- +
Logical; When TRUE, return only correction factors. |
An emission factor
+Combination of vehicles:
diff --git a/docs/reference/ef_evap.html b/docs/reference/ef_evap.html index 1d3c060a..5b45d1ff 100755 --- a/docs/reference/ef_evap.html +++ b/docs/reference/ef_evap.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,13 +117,15 @@
ef_evap
is a lookup table with tier 2 evaporative emission factors
from EMEP/EEA emisison guidelines
ef_evap(ef, v, cc, dt, ca, pollutant = "NMHC", k = 1, ltrip, kmday, show = FALSE, verbose = FALSE)- +
Logical; To show more information |
emission factors in g/trip or g/proced. The object has class (g) but it order to know it is g/trip or g/proceed the argument show must by T
+Diurnal loses occur with daily temperature variations. Running loses occur during vehicles use. Hot soak emission occur following vehicles use.
+Mellios G and Ntziachristos 2016. Gasoline evaporation. In: EEA, EMEP. EEA air pollutant emission inventory guidebook-2009. European Environment Agency, Copenhagen, 2009
+diff --git a/docs/reference/ef_fun.html b/docs/reference/ef_fun.html index c235ed10..dbbe6749 100644 --- a/docs/reference/ef_fun.html +++ b/docs/reference/ef_fun.html @@ -15,13 +15,11 @@ - - @@ -41,15 +39,15 @@ - + + - @@ -96,6 +94,7 @@ Changelog +@@ -117,12 +116,14 @@
ef_fun
returns amount of vehicles at each age
ef_fun(ef, type = "logistic", x = 1:length(ef), x0 = mean(ef), k = 1/4, L = max(ef))- +
Integer; the curve's maximum value. |
dataframe of age distrubution of vehicles at each street.
+https://en.wikipedia.org/wiki/Logistic_function
+diff --git a/docs/reference/ef_hdv_scaled.html b/docs/reference/ef_hdv_scaled.html index 5fbebb1d..16d50ace 100755 --- a/docs/reference/ef_hdv_scaled.html +++ b/docs/reference/ef_hdv_scaled.html @@ -15,13 +15,11 @@ - - @@ -41,19 +39,19 @@ - + + - @@ -100,6 +98,7 @@ Changelog +@@ -121,16 +120,18 @@
ef_hdv_scaled
creates a list of scaled functions of emission factors. A scaled
emission factor which at a speed of the dricing cycle (SDC) gives a desired value.
This function needs a dataframe with local emission factors with a columns with
the name "Euro_HDV" indicating the Euro equivalence standard, assuming that there are
available local emission factors for several consecutive years.
ef_hdv_scaled(df, dfcol, SDC = 34.12, v, t, g, eu, gr = 0, l = 0.5, p)- +
Pollutant: "CO", "FC", "NOx" or "HC" |
A list of scaled emission factors g/km
+The length of the list should be equal to the name of the age categories of a specific type of vehicle
+diff --git a/docs/reference/ef_hdv_speed.html b/docs/reference/ef_hdv_speed.html index 718ffb62..d230cc67 100755 --- a/docs/reference/ef_hdv_speed.html +++ b/docs/reference/ef_hdv_speed.html @@ -15,13 +15,11 @@ - - @@ -41,17 +39,17 @@ - + + - @@ -98,6 +96,7 @@ Changelog +@@ -119,14 +118,16 @@
This function returns speed dependent emission factors. The emission factors comes from the guidelines EMEP/EEA air pollutant emission inventory guidebook http://www.eea.europa.eu/themes/air/emep-eea-air-pollutant-emission-inventory-guidebook
+ef_hdv_speed(v, t, g, eu, x, gr = 0, l = 0.5, p, k = 1, show.equation = FALSE, speed, fcorr = rep(1, 8))- +
an emission factor function which depends of the average speed V g/km
+Pollutants (g/km): "CO", "NOx", "HC", "PM", "CH4", "NMHC", "CO2", "SO2", @@ -233,9 +235,11 @@
The categories Pre Euro and Euro I were assigned with the factors of Euro II and Euro III The categories euro IV and euro V were assigned with euro III + SCR
+diff --git a/docs/reference/ef_im.html b/docs/reference/ef_im.html index aea2d22b..ea28ed32 100644 --- a/docs/reference/ef_im.html +++ b/docs/reference/ef_im.html @@ -15,13 +15,11 @@ - - @@ -41,19 +39,19 @@ - + + - @@ -100,6 +98,7 @@ Changelog +@@ -121,15 +120,17 @@
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.
ef_im(ef, tc, amileage, max_amileage, max_ef, verbose = TRUE)- +
Logical; if you want detailed description. |
An emission factor of a deteriorated vehicle under normal conditions which would be approved in a inspection and mantainence program.
+diff --git a/docs/reference/ef_ive.html b/docs/reference/ef_ive.html index 7427834c..030b349d 100644 --- a/docs/reference/ef_ive.html +++ b/docs/reference/ef_ive.html @@ -15,13 +15,11 @@ - - @@ -41,17 +39,17 @@ - + + - @@ -98,6 +96,7 @@ Changelog +@@ -119,16 +118,18 @@
ef_ive
returns the base emission factors from the the IVE
model. This function depend on vectorized mileage, which means your can
enter with the mileage by age of use and the name of the pollutant.
ef_ive(description = "Auto/Sml Truck", fuel = "Petrol", weight = "Light", air_fuel_control = "Carburetor", exhaust = "None", evaporative = "PCV", mileage, pol, details = FALSE)- +
Logical; option to see or not more information about vehicle. |
An emission factor by annual mileage.
+Nicole Davis, James Lents, Mauricio Osses, Nick Nikkila, Matthew Barth. 2005. Development and Application of an International Vehicle Emissions Model. Transportation Research Board, 81st Annual Meeting, January 2005, Washington, D.C.
+diff --git a/docs/reference/ef_ldv_cold.html b/docs/reference/ef_ldv_cold.html index be670979..c5e2b04f 100755 --- a/docs/reference/ef_ldv_cold.html +++ b/docs/reference/ef_ldv_cold.html @@ -15,13 +15,11 @@ - - @@ -41,18 +39,18 @@ - + + - @@ -99,6 +97,7 @@ Changelog +@@ -120,15 +119,17 @@
ef_ldv_cold
returns speed functions or data.frames which depends on ambient temperature
average speed. The emission factors comes from the guidelines EMEP/EEA air pollutant
emission inventory guidebook
http://www.eea.europa.eu/themes/air/emep-eea-air-pollutant-emission-inventory-guidebook
ef_ldv_cold(v = "LDV", ta, cc, f, eu, p, k = 1, show.equation = FALSE, speed, fcorr = rep(1, 8))- +
an emission factor function which depends of the average speed V and ambient temperature. g/km
+diff --git a/docs/reference/ef_ldv_cold_list.html b/docs/reference/ef_ldv_cold_list.html index edf44402..8f38efc7 100755 --- a/docs/reference/ef_ldv_cold_list.html +++ b/docs/reference/ef_ldv_cold_list.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,12 +117,14 @@
This function creates a list of functions of cold start emission factors considering different euro emission standard to the elements of the list.
+ef_ldv_cold_list(df, v = "LDV", ta, cc, f, eu, p)- +
Pollutant: "CO", "FC", "NOx", "HC" or "PM" |
A list of cold start emission factors g/km
+The length of the list should be equal to the name of the age categories of a specific type of vehicle
+diff --git a/docs/reference/ef_ldv_scaled.html b/docs/reference/ef_ldv_scaled.html index 74f615af..bdcdcbce 100755 --- a/docs/reference/ef_ldv_scaled.html +++ b/docs/reference/ef_ldv_scaled.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,12 +117,14 @@
This function creates a list of scaled functions of emission factors. A scaled emission factor which at a speed of the driving cycle (SDC) gives a desired value.
+ef_ldv_scaled(df, dfcol, SDC = 34.12, v, t = "4S", cc, f, eu, p)- +
A list of scaled emission factors g/km
+This function calls "ef_ldv_speed" and calculate the specific k value, dividing the local emission factor by the respective speed emissions factor at the speed representative of the local emission factor, e.g. If the local emission factors were tested with the FTP-75 test procedure, SDC = 34.12 km/h.
+The length of the list should be equal to the name of the age categories of a specific type of vehicle. Thanks to Glauber Camponogara for the help.
+ef_ldv_seed
diff --git a/docs/reference/ef_ldv_speed.html b/docs/reference/ef_ldv_speed.html index 6362c019..f2743092 100755 --- a/docs/reference/ef_ldv_speed.html +++ b/docs/reference/ef_ldv_speed.html @@ -15,13 +15,11 @@ - - @@ -41,18 +39,18 @@ - + + - @@ -99,6 +97,7 @@ Changelog +@@ -120,15 +119,17 @@
ef_ldv_speed
returns speed dependent emission factors, data.frames or
list of emission factors. The emission factors
comes from the guidelines EMEP/EEA air pollutant emission inventory guidebook
http://www.eea.europa.eu/themes/air/emep-eea-air-pollutant-emission-inventory-guidebook
ef_ldv_speed(v, t = "4S", cc, f, eu, p, x, k = 1, speed, show.equation = FALSE, fcorr = rep(1, 8))- +
An emission factor function which depends of the average speed V g/km
+The argument of this functions have several options which results in different combinations that returns emission factors. If a combination of any option is wrong it will return an empty value. Therefore, it is important ti know the combinations.
+t = "ALL" and cc == "ALL" works for several pollutants because emission @@ -246,9 +249,11 @@
The available standards for Active Surface or number of particles are Euro I, II, III, III+DPF dor diesle and III+DISI for gasoline. Pre euro vehicles has the value of Euro I and euro IV, V, VI and VIc the value of euro III.
+diff --git a/docs/reference/ef_nitro.html b/docs/reference/ef_nitro.html index c4ddba00..1e64a2e1 100755 --- a/docs/reference/ef_nitro.html +++ b/docs/reference/ef_nitro.html @@ -15,13 +15,11 @@ - - @@ -41,18 +39,18 @@ - + + - @@ -99,6 +97,7 @@ Changelog +@@ -120,16 +119,18 @@
ef_nitro
returns emission factors as a functions of acondumulated mileage.
The emission factors comes from the guidelines EMEP/EEA air pollutant
emission inventory guidebook
http://www.eea.europa.eu/themes/air/emep-eea-air-pollutant-emission-inventory-guidebook
ef_nitro(v, t = "Hot", cond = "Urban", cc, f, eu, p = "NH3", S = 10, cumileage, k = 1, show.equation = FALSE, fcorr = rep(1, 8))- +
Numeric; Correction by by euro technology. |
an emission factor function which depends on the acondumulated mileage, or an EmissionFactor
+if length of eu is bigger than 1, cumileage can have values of length 1 or length equal to length of eu
+diff --git a/docs/reference/ef_wear.html b/docs/reference/ef_wear.html index 6354671a..81d0d288 100755 --- a/docs/reference/ef_wear.html +++ b/docs/reference/ef_wear.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,12 +117,14 @@
ef_wear
estimates wear emissions.
The sources are tyres, breaks and road surface.
ef_wear(wear, type, pol = "TSP", speed, load = 0.5, axle = 2)- +
Number of axle of the HDV |
emission factors grams/km
+Ntziachristos and Boulter 2016. Automobile tyre and break wear and road abrasion. In: EEA, EMEP. EEA air pollutant emission inventory guidebook-2009. European Environment Agency, Copenhagen, 2016
+diff --git a/docs/reference/ef_whe.html b/docs/reference/ef_whe.html index e3c9cd8a..3b8165ea 100644 --- a/docs/reference/ef_whe.html +++ b/docs/reference/ef_whe.html @@ -15,13 +15,11 @@ - - @@ -41,20 +39,20 @@ - + + - @@ -101,6 +99,7 @@ Changelog +@@ -122,16 +121,18 @@
ef_whe
return weighted emission factors of vehicles considering
that one part of the fleet has a normal deterioration and another has a
deteriorated fleet that would be rejected in a inspection and mantainence
program but it is still in circulation. This emission factor might be
applicable in cities without a inspection and mantainence program and with
Weighted emission factors considering that part of the fleet are high emitters.
ef_whe(efhe, phe, ef)- +
An emission factor by annual mileage.
++}{ @@ -171,13 +173,15 @@Examp plot(co_efhe) lines(co_ef_normal, pch = 16, col = "red" ) lines(efd, pch = 16, col = "blue") -}
#> Warning: longer object length is not a multiple of shorter object length#> Warning: longer object length is not a multiple of shorter object length
emis
estimates vehicular emissions as the product of the
vehicles on a road, length of the road, emission factor avaliated at the
respective speed. \(E = VEH*LENGTH*EF(speed)\)
emis(veh, lkm, ef, speed = 34, agemax = ifelse(is.data.frame(veh), ncol(veh), ncol(veh[[1]])), profile, hour = nrow(profile), day = ncol(profile), array = T, verbose = FALSE)- +
Logical; To show more information |
If the user applies a top-down approach, the resulting units will be according its own data. For instance, if the vehicles are veh/day, the units of the emissions implicitly will be g/day.
+Hour and day will be deprecated because they can be infered from the profile matrix.
+diff --git a/docs/reference/emis_chem.html b/docs/reference/emis_chem.html index 67bd9534..b33e7b66 100644 --- a/docs/reference/emis_chem.html +++ b/docs/reference/emis_chem.html @@ -15,13 +15,11 @@ - - @@ -41,17 +39,17 @@ - + + - @@ -98,6 +96,7 @@ Changelog +@@ -119,13 +118,15 @@
emis_chem
aggregates emissions by chemical mechanism
and convert grams to mol. This function reads all hydrocarbos and respective
criteria polluants specified in ef_ldv_speed
and ef_hdv_speed
.
emis_chem(dfe, mechanism, colby, long = FALSE)- +
Logical. Do you want data in long format? |
data.frame with lumped groups by chemical mechanism. It transform emissions in grams to mol.
+This feature is experimental and the mapping of pollutants and lumped @@ -165,9 +167,11 @@
diff --git a/docs/reference/emis_cold.html b/docs/reference/emis_cold.html index d398787b..67b31638 100755 --- a/docs/reference/emis_cold.html +++ b/docs/reference/emis_cold.html @@ -15,13 +15,11 @@ - - @@ -41,18 +39,18 @@ - + + - @@ -99,6 +97,7 @@ Changelog +@@ -120,17 +119,19 @@
emis_cold
emissions are estimated as the product of the
vehicles on a road, length of the road, emission factor avaliated at the
respective speed.The estimation considers beta parameter, the fraction of
mileage driven
emis_cold(veh, lkm, ef, efcold, beta, speed = 34, agemax = if (!inherits(x = veh, what = "list")) { ncol(veh) } else { ncol(veh[[1]]) }, profile, hour = nrow(profile), day = ncol(profile), array = TRUE, verbose = FALSE)- +
Logical; To show more information |
EmissionsArray g/h
+diff --git a/docs/reference/emis_cold_td.html b/docs/reference/emis_cold_td.html index a79f673d..77b2b67a 100644 --- a/docs/reference/emis_cold_td.html +++ b/docs/reference/emis_cold_td.html @@ -15,13 +15,11 @@ - - @@ -41,8 +39,8 @@ - + + - @@ -103,6 +101,7 @@ Changelog +@@ -124,6 +123,7 @@
emis_cold_td
estimates cld start emissions with
a top-down appraoch. This is, annual or monthly emissions or region.
Especifically, the emissions are esitmated for row of the simple feature (row
@@ -132,11 +132,12 @@
emis_cold_td(veh, lkm, ef, efcold, beta, pro_month, params, verbose = FALSE)- +
Logical; To show more information |
Emissions data.frame
+diff --git a/docs/reference/emis_det.html b/docs/reference/emis_det.html index 23957736..c9a520d3 100755 --- a/docs/reference/emis_det.html +++ b/docs/reference/emis_det.html @@ -15,13 +15,11 @@ - - @@ -41,19 +39,19 @@ - + + - @@ -100,6 +98,7 @@ Changelog +@@ -121,16 +120,18 @@
emis_det
returns deterioration factors. The emission
factors comes from the guidelines for developing emission factors of the
EMEP/EEA air pollutant emission inventory guidebook
http://www.eea.europa.eu/themes/air/emep-eea-air-pollutant-emission-inventory-guidebook
This function subset an internal database of emission factors with each argument
emis_det(po, cc, eu, speed = Speed(18.9), km, verbose = FALSE, show.equation = FALSE)- +
Option to see or not the equation parameters |
It returns a numeric vector representing the increase in emissions due to normal deterioring
+The deterioration factors functions are available for technologies @@ -175,6 +177,7 @@
diff --git a/docs/reference/emis_dist.html b/docs/reference/emis_dist.html index 17bc57d9..63cac2d5 100644 --- a/docs/reference/emis_dist.html +++ b/docs/reference/emis_dist.html @@ -15,13 +15,11 @@ - - @@ -41,18 +39,18 @@ - + + - @@ -99,6 +97,7 @@ Changelog +@@ -120,14 +119,16 @@
emis_dist
allocates emissions proportionally to
each feature. "Spatial" objects are converter to "sf" objects. Currently,
'LINESTRING' or 'MULTILINESTRING' supported. The emissions are distributed
in each street.
emis_dist(gy, spobj, pro, osm, verbose = TRUE)- +
Logical; to show more info. |
When spobj is a 'Spatial' object (class of sp), they are converted into 'sf'.
+diff --git a/docs/reference/emis_evap.html b/docs/reference/emis_evap.html index 669b9732..0dea018b 100755 --- a/docs/reference/emis_evap.html +++ b/docs/reference/emis_evap.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,13 +117,15 @@
emis_evap
estimates evaporative emissions from
EMEP/EEA emisison guidelines
emis_evap(veh, x, ed, hotfi, hotc, warmc, carb = 0, p, params, pro_month, verbose = FALSE)- +
Logical; To show more information |
numeric vector of emission estimation in grams
+When veh is a "Vehicles" data.frame, emission factors are evaluated till the number of columns of veh. For instance, if the length of the emision factor is 20 but the number of columns of veh is 10, the 10 first emission factors are used.
+Mellios G and Ntziachristos 2016. Gasoline evaporation. In: EEA, EMEP. EEA air pollutant emission inventory guidebook-2009. European Environment Agency, Copenhagen, 2009
+diff --git a/docs/reference/emis_evap2.html b/docs/reference/emis_evap2.html index 86163128..79c7f39f 100644 --- a/docs/reference/emis_evap2.html +++ b/docs/reference/emis_evap2.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,14 +117,16 @@
emis_evap
performs the estimation of evaporative emissions
from EMEP/EEA emisison guidelines with Tier 2.
emis_evap2(veh, name, size, fuel, aged, nd4, nd3, nd2, nd1, hs_nd4, hs_nd3, hs_nd2, hs_nd1, rl_nd4, rl_nd3, rl_nd2, rl_nd1, d_nd4, d_nd3, d_nd2, d_nd1)- +
dataframe of emission estimation in grams/days
+Mellios G and Ntziachristos 2016. Gasoline evaporation. In: EEA, EMEP. EEA air pollutant emission inventory guidebook-2009. European Environment Agency, Copenhagen, 2009
+diff --git a/docs/reference/emis_grid.html b/docs/reference/emis_grid.html index 0c7a9a70..09c2acec 100755 --- a/docs/reference/emis_grid.html +++ b/docs/reference/emis_grid.html @@ -15,13 +15,11 @@ - - @@ -41,19 +39,19 @@ - + + - @@ -100,6 +98,7 @@ Changelog +@@ -121,15 +120,17 @@
emis_grid
allocates emissions proportionally to each grid
cell. The process is performed by intersection between geometries and the grid.
It means that requires "sr" according with your location for the projection.
It is assumed that spobj is a Spatial*DataFrame or an "sf" with the pollutants
in data. This function returns an object of class "sf".
emis_grid(spobj = net, g, sr, type = "lines", FN = "sum")- +
Character indicating the function. Default is "sum" |
When spobj is a 'Spatial' object (class of sp), they are converted into 'sf'. Also, The aggregation of data is done with data.table functions.
+diff --git a/docs/reference/emis_hot_td.html b/docs/reference/emis_hot_td.html index 50057842..871f7c1e 100644 --- a/docs/reference/emis_hot_td.html +++ b/docs/reference/emis_hot_td.html @@ -15,13 +15,11 @@ - - @@ -41,8 +39,8 @@ - + + - @@ -103,6 +101,7 @@ Changelog +@@ -124,6 +123,7 @@
emis_hot_td
estimates cld start emissions with
a top-down appraoch. This is, annual or monthly emissions or region.
Especifically, the emissions are esitmated for row of the simple feature (row
@@ -132,10 +132,11 @@
emis_hot_td(veh, lkm, ef, pro_month, params, verbose = FALSE)- +
Logical; To show more information |
Emissions data.frame
+diff --git a/docs/reference/emis_merge.html b/docs/reference/emis_merge.html index 387834be..001bc20f 100644 --- a/docs/reference/emis_merge.html +++ b/docs/reference/emis_merge.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,14 +117,16 @@
emis_merge
reads rds files and returns a data-frame
or an object of 'spatial feature' of streets, merging several files.
emis_merge(pol = "CO", what = "STREETS.rds", streets = T, net, path = "emi", crs, under = "after", ignore = FALSE, as_list = FALSE)- +
"Logical"; for returning the results as list or not. |
'Spatial feature' of lines or a dataframe of emissions
+diff --git a/docs/reference/emis_order.html b/docs/reference/emis_order.html index 8cf06e96..b088df33 100644 --- a/docs/reference/emis_order.html +++ b/docs/reference/emis_order.html @@ -15,13 +15,11 @@ - - @@ -41,19 +39,19 @@ - + + - @@ -100,6 +98,7 @@ Changelog +@@ -121,15 +120,17 @@
returns the emission array matching with corresponding weekdays and with the desired number of hours, recycling or droping hours from the emission array. For instance, if your emissions starts Monday at 00:00 and cover 168 hours, and you want to reorder them to start saturday you with a total a new length of hours of 241, you must :emis_order(EMISSION, as.Date("2016-04-06"), 241)
+emis_order(EMISSION, start = "mon", hours = 168, utc, verbose = TRUE)- +
Logical; display additional information |
Emissions
+GriddedEmissionsArray, sf or data.frame, depending on the class of EMISSION
+This function assumes that the emissions have hours with length of @@ -176,6 +179,7 @@
diff --git a/docs/reference/emis_paved.html b/docs/reference/emis_paved.html index 7af30048..1619159c 100755 --- a/docs/reference/emis_paved.html +++ b/docs/reference/emis_paved.html @@ -15,13 +15,11 @@ - - @@ -41,19 +39,19 @@ - + + - @@ -100,6 +98,7 @@ Changelog +@@ -121,16 +120,18 @@
emis_paved
estimates vehicular emissions from paved roads.
The vehicular emissions are estimated as the product of the vehicles on a
road, length of the road, emission factor from AP42 13.2.1 Paved roads.
It is assumed dry hours and anual aggregation should consider moisture factor.
It depends on Average Daily Traffic (ADT)
emis_paved(veh, lkm, k = 0.62, sL1 = 0.6, sL2 = 0.2, sL3 = 0.06, sL4 = 0.03, W)- +
emission estimation g/h
+EPA, 2016. Emission factor documentation for AP-42. Section 13.2.1, Paved Roads. https://www3.epa.gov/ttn/chief/ap42/ch13/final/c13s0201.pdf
+diff --git a/docs/reference/emis_post.html b/docs/reference/emis_post.html index 7b25782c..72479b17 100755 --- a/docs/reference/emis_post.html +++ b/docs/reference/emis_post.html @@ -15,13 +15,11 @@ - - @@ -41,18 +39,18 @@ - + + - @@ -99,6 +97,7 @@ Changelog +@@ -120,14 +119,16 @@
emis_post
simplify emissions estimated as total per type category of
vehicle or by street. It reads EmissionsArray. It can return an dataframe
with hourly emissions at each street, or a data base with emissions by vehicular
category, hour, including size, fuel and other characteristics.
emis_post(arra, veh, size, fuel, pollutant, by = "veh", net)- +
This function depends on EmissionsArray objests which currently has @@ -175,6 +176,7 @@
diff --git a/docs/reference/emis_source.html b/docs/reference/emis_source.html index 6915e687..85ac5c43 100644 --- a/docs/reference/emis_source.html +++ b/docs/reference/emis_source.html @@ -15,13 +15,11 @@ - - @@ -41,15 +39,15 @@ - + + - @@ -96,6 +94,7 @@ Changelog +@@ -117,12 +116,14 @@
emis_source
source vein scripts
emis_source(path = "est", pattern = ".R", ignore = "~", first, ask = TRUE, recursive = TRUE, full.names = TRUE)- +
Logical; full.names or not. Default is "TRUE". |
diff --git a/docs/reference/emis_to_streets.html b/docs/reference/emis_to_streets.html index b3330bd7..27fd7219 100644 --- a/docs/reference/emis_to_streets.html +++ b/docs/reference/emis_to_streets.html @@ -15,13 +15,11 @@ - - @@ -41,18 +39,18 @@ - + + - @@ -99,6 +97,7 @@ Changelog +@@ -120,14 +119,16 @@
emis_to_streets
allocates emissions proportionally to
each feature. "Spatial" objects are converter to "sf" objects. Currently,
'LINESTRING' or 'MULTILINESTRING' supported. The emissions are distributed
in each street.
emis_to_streets(streets, dfemis, by = "ID", stpro, verbose = TRUE)- +
Logical; to show more info. |
When spobj is a 'Spatial' object (class of sp), they are converted into 'sf'.
+diff --git a/docs/reference/emis_wear.html b/docs/reference/emis_wear.html index 4d511d69..db5eed52 100755 --- a/docs/reference/emis_wear.html +++ b/docs/reference/emis_wear.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,13 +117,15 @@
emis_wear
estimates wear emissions. The sources are tyres,
breaks and road surface.
emis_wear(veh, lkm, ef, what = "tyre", speed, agemax = ncol(veh), profile, hour = nrow(profile), day = ncol(profile))- +
Number of considered days in estimation |
emission estimation g/h
+Ntziachristos and Boulter 2016. Automobile tyre and break wear and road abrasion. In: EEA, EMEP. EEA air pollutant emission inventory guidebook-2009. European Environment Agency, Copenhagen, 2016
+diff --git a/docs/reference/emis_wrf-deprecated.html b/docs/reference/emis_wrf-deprecated.html index a797950b..468dd678 100644 --- a/docs/reference/emis_wrf-deprecated.html +++ b/docs/reference/emis_wrf-deprecated.html @@ -15,13 +15,11 @@ - - @@ -41,17 +39,17 @@ - + + - @@ -98,6 +96,7 @@ Changelog +@@ -119,12 +118,14 @@
emis_wrf
returns a dataframes with columns lat, long, id, pollutants, local time
and GMT time. This dataframe has the proper format to be used with WRF
assimilation system: "ASimilation System 4 WRF (AS4WRF Vera-Vala et al (2016))
logical value to indicate if sdf is a list or not |
A dataset containing emission factors from CETESB and its equivalency with EURO
+data(fe2015)- - +
A data frame with 288 rows and 12 variables:
CETESB emission standard for Light Trucks with Diesel (g/km)
Functions from CETESB: Antonio de Castro Bruni and Marcelo Pereira Bales. 2013. Curvas de intensidade de uso por tipo de veiculo automotor da frota da cidade de Sao Paulo This functions depends on the age of use of the vehicle
+data(fkm)- - +
A data frame with 288 rows and 12 variables:
Mileage in km of Light Duty Vehicles using Natural Gas
Take into account the effect of better fuels on vehicles with older technology. If the ratio is less than 1, return 1. It means that it is nota degradation function.
+fuel_corr(euro, g = c(e100 = 52, aro = 39, o2 = 0.4, e150 = 86, olefin = 10, s = 165), d = c(den = 840, pah = 9, cn = 51, t95 = 350, s = 400))- +
A list with the correction of emission factors.
+This function cannot be used to account for deterioration, therefore, @@ -169,6 +171,7 @@
PAH = Aromatics content in
CN = Cetane number
T95 = Back-end distillation in o C.
+diff --git a/docs/reference/grid_emis.html b/docs/reference/grid_emis.html index eb40b1bc..e286e2e4 100644 --- a/docs/reference/grid_emis.html +++ b/docs/reference/grid_emis.html @@ -15,13 +15,11 @@ - - @@ -41,18 +39,18 @@ - + + - @@ -99,6 +97,7 @@ Changelog +@@ -120,14 +119,16 @@
grid_emis
it is sort of the opposite of
emis_grid
. It allocates gridded emissions into streets.
This function applies emis_dist
into each grid cell using
lapply. This function is in development and pull request are welcome.
grid_emis(spobj, g, sr, pro, osm, verbose = TRUE)- +
Logical; to show more info. |
When spobj is a 'Spatial' object (class of sp), they are converted into 'sf'.
+@@ -574,7 +572,7 @@{ @@ -198,9 +200,9 @@diff --git a/docs/reference/index.html b/docs/reference/index.html index f4c53ed0..3aacd276 100755 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -15,13 +15,11 @@ - - @@ -41,14 +39,13 @@ - + - @@ -95,6 +92,7 @@ Changelog +Examp #do not run library(osmdata) library(sf) -osm <- osmdata_sf( -add_osm_feature( -opq(bbox = st_bbox(gCO)), +osm <- osmdata_sf( +add_osm_feature( +opq(bbox = st_bbox(gCO)), key = 'highway'))$osm_lines[, c("highway")] st <- c("motorway", "motorway_link", "trunk", "trunk_link", "primary", "primary_link", "secondary", "secondary_link", @@ -220,7 +222,9 @@
Examp
Contents
@@ -234,7 +238,7 @@Contents
invcop
help to copy and zip projects
invcop(in_name = getwd(), out_name, all = FALSE, main = TRUE, ef = TRUE, est = TRUE, network = TRUE, veh_rds = FALSE, veh_csv = TRUE, zip = TRUE)- +
Logical; zip or not. |
emission estimation g/h
+This function was created to copy and zip project without the emis.
+diff --git a/docs/reference/inventory.html b/docs/reference/inventory.html index bb9568c1..cf634868 100644 --- a/docs/reference/inventory.html +++ b/docs/reference/inventory.html @@ -15,13 +15,11 @@ - - @@ -41,17 +39,17 @@ - + + - @@ -98,6 +96,7 @@ Changelog +@@ -119,15 +118,17 @@
inventory
produces an structure of directories and scripts
in order to run vein. It is required to know the vehicular composition of the
fleet.
inventory(name, vehcomp = c(PC = 1, LCV = 1, HGV = 1, BUS = 1, MC = 1), show.main = TRUE, scripts = TRUE, show.dir = TRUE, show.scripts = FALSE, clear = TRUE, rush.hour = FALSE)- +
Logical, to create a template for morning rush hour. |
Structure of directories and scripts for automating compilation of @@ -205,6 +206,7 @@
diff --git a/docs/reference/long_to_wide.html b/docs/reference/long_to_wide.html index e6b8859b..99b883bd 100644 --- a/docs/reference/long_to_wide.html +++ b/docs/reference/long_to_wide.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,13 +117,15 @@
long_to_wide
transform data.frame from long to
wide format
long_to_wide(df, column_with_new_names = names(df)[1], column_with_data = "emission", column_fixed, geometry)- +
To return a sf |
wide data.frame.
+diff --git a/docs/reference/make_grid.html b/docs/reference/make_grid.html index 8e2e0cc9..90ba2156 100755 --- a/docs/reference/make_grid.html +++ b/docs/reference/make_grid.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,12 +117,14 @@
make_grid
creates a sf grid of polygons. The spatial
reference is taken from the spatial object.
make_grid(spobj, width, height = width, polygon, crs = 4326, ...)- +
ignored |
A grid of polygons class 'sf'
+diff --git a/docs/reference/matvect.html b/docs/reference/matvect.html index 92301870..61e5a8dd 100644 --- a/docs/reference/matvect.html +++ b/docs/reference/matvect.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,12 +117,14 @@
matvect
it is a helper function to multiply matrices
with vector by rows or columns
matvect(df, x, by = "row")- +
Character, with two value "row" or "col" |
data-frame
+This function multiplies matrices with vectors by rows or colums. @@ -151,6 +153,7 @@
diff --git a/docs/reference/my_age.html b/docs/reference/my_age.html index c97ba1a3..c4513323 100755 --- a/docs/reference/my_age.html +++ b/docs/reference/my_age.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,13 +117,15 @@
my_age
returns amount of vehicles at each age using a
numeric vector.
my_age(x, y, agemax, name = "vehicle", k = 1, pro_street, net, verbose = FALSE, namerows)- +
dataframe of age distrubution of vehicles.
+The functions age* produce distribution of the circulating fleet by age of use. @@ -189,6 +191,7 @@
diff --git a/docs/reference/net.html b/docs/reference/net.html index 55bd04bc..32e2bf80 100755 --- a/docs/reference/net.html +++ b/docs/reference/net.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,13 +117,14 @@
This dataset is a SpatialLineDataFrame of sp package with roads from a traffic simulations made by CET Sao Paulo, Brazil
+data(net)- - +
A data frame with 1796 rows and 1 variables:
Time for travelling each link (min)
netspeed
Creates a dataframe of speeds fir diferent hours
and each link based on morning rush traffic data
netspeed(q = 1, ps, ffs, cap, lkm, alpha = 0.15, beta = 4, net, scheme = FALSE, distance = "km", time = "h", isList)- +
Deprecated |
dataframe speeds with units or sf.
+diff --git a/docs/reference/pc_cold.html b/docs/reference/pc_cold.html index 9382448f..7ff2b506 100755 --- a/docs/reference/pc_cold.html +++ b/docs/reference/pc_cold.html @@ -15,13 +15,11 @@ - - @@ -41,18 +39,18 @@ - + + - @@ -99,6 +97,7 @@ Changelog +@@ -120,28 +119,31 @@
This dataset is a dataframe with percetage of hourly starts with a lapse of 6 hours with engine turned off. Data source is: Lents J., Davis N., Nikkila N., Osses M. 2004. Sao Paulo vehicle activity study. ISSRC. www.issrc.org
+data(pc_cold)- - +
A data frame with 24 rows and 1 variables:
24 hours profile vehicle starts for Monday
This dataset is a dataframe with traffic activity normalized monday 08:00-09:00. This data is normalized at 08:00-09:00. It comes from data of toll stations near Sao Paulo City. The source is ARTESP (www.artesp.com.br)
+data(pc_profile)- - +
A data frame with 24 rows and 7 variables:
24 hours profile for Sunday
This dataset also includes MIR, MOIR and EBIR is Carter SAPRC07.xls https://www.engr.ucr.edu/~carter/SAPRC/
+data(pollutants)- - +
A data frame with 148 rows and 10 variables:
Inform some assumption for molar mass
This dataset is n a list of data-frames with traffic activity normalized monday 08:00-09:00. It comes from data of toll stations near Sao Paulo City. The source is ARTESP (www.artesp.com.br) for months January and June and years 2012, 2013 and 2014. The type of vehicles covered are PC, MC, MC and HGV.
+data(pc_profile)- - +
A list of data-frames with 24 rows and 7 variables:
168 hours
remove_units
Remove units from data.frames, matrix or units.
remove_units(x)- +
Object with class "data.frame", "matrix" or "units" |
"data.frame", "matrix" or numeric
+diff --git a/docs/reference/running_losses-deprecated.html b/docs/reference/running_losses-deprecated.html index 460272e1..22bcbb6f 100644 --- a/docs/reference/running_losses-deprecated.html +++ b/docs/reference/running_losses-deprecated.html @@ -15,13 +15,11 @@ - - @@ -41,18 +39,18 @@ - + + - @@ -99,6 +97,7 @@ Changelog +@@ -120,13 +119,15 @@
hot_soak
estimates of evaporative emissions from EMEP/EEA
emisison guidelines
running_losses
estimates evaporative emissions from
EMEP/EEA emisison guidelines
numeric vector of emission estimation in grams
numeric vector of emission estimation in grams
+speciate
separates emissions in different compounds.
It covers black carbon and organic matter from particulate matter. Soon it
will be added more speciations
speciate(x, spec = "bcom", veh, fuel, eu, show = FALSE, list = FALSE, pmpar)- +
dataframe of speciation in grams or mols
+when spec = "iag": @@ -213,6 +215,7 @@
"bcom": Ntziachristos and Zamaras. 2016. Passneger cars, light @@ -241,6 +244,7 @@
+}{ @@ -250,15 +254,19 @@Examp dfa <- speciate(pm, spec = "e_eth", veh = "veh", fuel = "G", eu = "Exhaust") dfb <- speciate(pm, spec = "e_tol", veh = "veh", fuel = "G", eu = "Exhaust") dfc <- speciate(pm, spec = "e_so4i") -}
#> Error in speciate(pm, spec = "e_so4i"): object 'dfb' not found
split_emis
split street emissions into a grid.
split_emis(net, distance, add_column, verbose = TRUE)- +
Logical, to show more information. |
diff --git a/docs/reference/temp_fact.html b/docs/reference/temp_fact.html index 5569e750..e2d93f3e 100755 --- a/docs/reference/temp_fact.html +++ b/docs/reference/temp_fact.html @@ -15,13 +15,11 @@ - - @@ -41,17 +39,17 @@ - + + - @@ -98,6 +96,7 @@ Changelog +@@ -119,13 +118,15 @@
temp_fact
is a matrix multiplication between traffic and
hourly expansion data-frames to obtain a data-frame of traffic
at each link to every hour
temp_fact(q, pro, net)- +
SpatialLinesDataFrame or Spatial Feature of "LINESTRING" |
data-frames of expanded traffic or sf.
+diff --git a/docs/reference/to_latex.html b/docs/reference/to_latex.html index 01cfdc3f..19ac71f1 100644 --- a/docs/reference/to_latex.html +++ b/docs/reference/to_latex.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,12 +117,14 @@
\code\linkto_latex reads a data.frme an dgenerates a .tex table, aiming to replicate the method of tablegenerator.com
+to_latex(df, file, caption = "My table", label = "tab:df")- +
Character, label of table |
a text file with extension .tex.
+\code\linkvein_notes \code\linklong_to_wide
+#> /tmp/Rtmpqo7rZP/file6185450bab39.tex diff --git a/docs/reference/vein-deprecated.html b/docs/reference/vein-deprecated.html index 38e21517..119cb882 100644 --- a/docs/reference/vein-deprecated.html +++ b/docs/reference/vein-deprecated.html @@ -15,13 +15,11 @@ - - @@ -41,8 +39,8 @@ - + + - @@ -104,6 +102,7 @@ Changelog + @@ -125,6 +124,7 @@
EmissionsList
returns a tranformed object with class "EmissionsList".
Evaporative
returns a tranformed object with class "Evaporative" and
units g. This class represents the daily emissions presented by
@@ -134,6 +134,7 @@
help("-deprecated")
.
+
EmissionsList(x, ...) @@ -163,7 +164,7 @@- +DEPRECATED Construction function for class "EmissionsList"
hot_soak(x, carb, p, eshotc, eswarmc, eshotfi) running_losses(x, erhotfi, lkm, carb, p, erhotc, erwarmc)
ignored |
Objects of class "EmissionsList" and numeric elements as "units"
Objects of class "Evaporative" or "units"
+Evaporative
running_losses
, use emis_evap
.
For running_losses
, use emis_evap
.
Mellios G and Ntziachristos 2016. Gasoline evaporation. In: @@ -216,10 +219,12 @@
Mellios G and Ntziachristos 2016. Gasoline evaporation. In: EEA, EMEP. EEA air pollutant emission inventory guidebook-2009. European Environment Agency, Copenhagen, 2009
+vein-deprecated
vein-deprecated
diff --git a/docs/reference/vein-package.html b/docs/reference/vein-package.html index 6e155c4b..7a780ad8 100644 --- a/docs/reference/vein-package.html +++ b/docs/reference/vein-package.html @@ -15,13 +15,11 @@ - - @@ -41,8 +39,8 @@ - + + - @@ -103,6 +101,7 @@ Changelog +@@ -124,6 +123,7 @@
Elaboration of vehicular emissions inventories, consisting in four stages, pre-processing activity data, preparing @@ -132,10 +132,10 @@
vein_notes
creates aa text file '.txt' for
writting technical notes about this emissions inventory
vein_notes(notes, yourname, file = "README", @@ -131,7 +132,7 @@- +vein_notes for writting technical notes about the inventory
evaporative = "Your information about evaporative emission factors", standards = "Your information about standards", mileage = "Your information about mileage")
Character; vector of notes. |
Writes a text file.
+@@ -119,14 +118,16 @@{ @@ -201,15 +203,15 @@diff --git a/docs/reference/vkm.html b/docs/reference/vkm.html index 25ebb907..e0b9686f 100755 --- a/docs/reference/vkm.html +++ b/docs/reference/vkm.html @@ -15,13 +15,11 @@ - - @@ -41,17 +39,17 @@ - + + - @@ -98,6 +96,7 @@ Changelog +Examp #> [2] "Vehicular Emissions Inventory on REGIONXX BASE YEAR XXXX" #> [3] "========================================" #> [4] "" -#> [5] "Directory: /home/sergio/models/vein/docs/reference" +#> [5] "Directory: /home/sergio/Documentos/vein/docs/reference" #> [6] "" -#> [7] "Local Time: 2019-09-05 15:00:18" +#> [7] "Local Time: 2019-09-17 14:53:45" #> [8] "Inventory compiler: sergio" #> [9] "========================================" #> [10] "" #> [11] "sysname = Linux" -#> [12] "release = 5.0.0-27-generic" -#> [13] "version = #28-Ubuntu SMP Tue Aug 20 19:53:07 UTC 2019" +#> [12] "release = 5.0.0-25-generic" +#> [13] "version = #26-Ubuntu SMP Thu Aug 1 12:04:58 UTC 2019" #> [14] "nodename = sergio-pc" #> [15] "machine = x86_64" #> [16] "user = sergio" @@ -256,7 +258,9 @@
Examp
Contents
@@ -270,7 +274,7 @@Contents
vkm
consists in the product of the number of vehicles and
the distance driven by these vehicles in km. This function reads hourly
vehiles and then extrapolates the vehicles
vkm(veh, lkm, profile, hour = nrow(profile), day = ncol(profile), array = TRUE, as_df = TRUE)- +
Logical; when TRUE transform returning array in data.frame (streets x hour*days) |
emission estimation of vkm
+diff --git a/docs/reference/wide_to_long.html b/docs/reference/wide_to_long.html index 83f918c9..cb3a3ef8 100644 --- a/docs/reference/wide_to_long.html +++ b/docs/reference/wide_to_long.html @@ -15,13 +15,11 @@ - - @@ -41,16 +39,16 @@ - + + - @@ -97,6 +95,7 @@ Changelog +@@ -118,12 +117,14 @@
wide_to_long
transform data.frame from wide to
long format
wide_to_long(df, column_with_data = names(df), column_fixed, geometry)- +
To return a sf |
long data.frame.
+