View source: R/extend_to_exergy.R
move_to_exergy | R Documentation |
Converts energy conversion chains represented by the matrices
in the data frame of psut_energy
from energy quantities to exergy quantities.
move_to_exergy( psut_energy, phi_vecs, countries, country = IEATools::iea_cols$country, phi_colname = IEATools::phi_constants_names$phi_colname )
psut_energy |
A wide-by-matrices data frame of energy conversion chain data. |
phi_vecs |
A data frame of vectors of phi (exergy-to-energy ratios) |
countries |
The countries for which this task should be performed. |
country |
See |
phi_colname |
See |
The steps in this calculation are to join phi_vecs to psut_energy.
Thereafter, we call into the IEATools
package to do the matrix multiplications.
A version of psut_energy
with additional rows
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.