View source: R/combine_iea_mw.R
add_iea_mw_psut | R Documentation |
To create a combined energy conversion chain (ECC)
containing both IEA and muscle work data,
PSUT matrices for each ECC are summed.
This function sums R
, U
, V
, Y
, U_feed
, and U_eiou
matrices directly.
It also re-calculates the r_eiou
matrix.
add_iea_mw_psut(
.iea_psut = NULL,
.mw_psut = NULL,
countries,
iea_suffix = "_iea",
mw_suffix = "_mw",
R = IEATools::psut_cols$R,
U = IEATools::psut_cols$U,
V = IEATools::psut_cols$V,
Y = IEATools::psut_cols$Y,
U_feed = IEATools::psut_cols$U_feed,
U_eiou = IEATools::psut_cols$U_eiou,
s_units = IEATools::psut_cols$s_units,
country = IEATools::iea_cols$country,
year = IEATools::iea_cols$year,
method = IEATools::iea_cols$method,
energy_type = IEATools::iea_cols$energy_type,
last_stage = IEATools::iea_cols$last_stage,
r_eiou = IEATools::psut_cols$r_eiou
)
.iea_psut |
An IEA PSUT data frame. |
.mw_psut |
A muscle work PSUT data frame. |
countries |
The countries to be analyzed. |
iea_suffix |
A suffix for IEA columns, used internally. Default is "_iea". |
mw_suffix |
A suffix for muscle work columns, used internally. Default is "_mw". |
R |
The name of the column of |
U |
The name of the column of |
V |
The name of the column of |
Y |
The name of the column of |
U_feed |
The name of the column of |
U_eiou |
The name of the column of |
s_units |
The name of the column of |
country |
The name of the country column. Default is |
year |
The name of the year column. Default is |
method |
The name of the method column. Default is |
energy_type |
The name of the energy type column. Default is |
last_stage |
The name of the last_stage column. Default is |
r_eiou |
The name of the r_eiou column. Default is |
If either of iea_psut
or .mw_psut
are NULL
,
the other is returned.
A data frame of summed matrices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.