Calculates the final energy to final exergy multipliers
calc_Ef_to_Xf_exiobase.Rd
Calculates the final energy to final exergy multipliers
Usage
calc_Ef_to_Xf_exiobase(
phi_vecs,
years_exiobase,
full_list_exiobase_flows,
country_concordance_table_df,
final_energy_flow = "Final.energy.flow",
exiobase_flow = "Exiobase.Flow",
pfu_code = "PFU.code",
iea_country_name = "IEA.country.name",
iea_country_name_accented = "IEA.name.accented",
phi = "phi",
matnames = "matnames",
colnames = "colnames",
matvals = "matvals",
rowtypes = "rowtypes",
coltypes = "coltypes",
country = IEATools::iea_cols$country,
product = IEATools::iea_cols$product,
year = IEATools::iea_cols$year,
flow = IEATools::iea_cols$flow
)
Arguments
- phi_vecs
A data frame of phi (exergy-to-energy ratio) coefficients.
- years_exiobase
The years for which the coefficients are provided to the Exiobase team
- full_list_exiobase_flows
The full list of energy flows used in the Exiobase pipeline led by KR
- country_concordance_table_df
A data frame containing the country concordance table
- final_energy_flow
The name of the column stating whether a flow is a final energy flow or not
- exiobase_flow
The name of the column stating the name of the Exiobase flow
- pfu_code
The name of the column containing the PFU country name
- iea_country_name
The name of the column containing the IEA country name
- iea_country_name_accented
The name of the column containing the IEA country name with accents
- phi
The name of the column containing the phi values
- matnames
The name of the column containing matrices names after unpacking the matrices
- colnames
The name of the column containing the column names after unpacking the matrices
- matvals
The name of the column containing matrices values after unpacking the matrices
- rowtypes
The name of the column containing the matrices row types names after unpacking the matrices
- coltypes
The name of the column containing matrices column types after unpacking the matrices
- country, year, product, flow
See
IEATools::iea_cols
.