calc_eta_i: Calculate industry efficiencies

Description Usage Arguments Details Value Examples

View source: R/efficiency.R

Description

Calculates industry efficiencies for all energy conversion industries in the ECC. Calculations are performed as shown in Equation 11 in Heun, Owen, and Brockway. 2018. A physical supply-use table framework for energy analysis on the energy conversion chain. Applied Energy, vol 226, pp. 1134-1162.

Usage

1
calc_eta_i(.sutmats, U = "U", V = "V", S_units = "S_units", eta_i = "eta_i")

Arguments

.sutmats

a data frame containing columns for U, V, and S_units matrices

U

a string for the name of a column of U matrices in .sutmats. (Default is "U".)

V

a string for the name of a column of V matrices in .sutmats. (Default is "V".)

S_units

a string for the name of a column of S_units matrices in .sutmats. (Default is "S_units".)

eta_i

the name of the industry efficiency column in output. Default is "eta_i".

Details

The efficiency for a given industry is calculated iff the units for inputs and outputs for that industry are unit-homogeneous. If units for inputs and outputs are heterogeneous for an industry, NA is the result.

Note that these efficiencies (eta) are different from final demand sector and product efficiencies (eta_s and eta_p, respectively). Both final demand sector and product efficiencies (eta_s and eta_p) are based on embodied energy, whereas industry efficiencies (eta) is based on direct inputs consumed and outputs produced by the energy conversion industry.

To calculate energy conversion final demand sector and product efficiencies, use the calc_embodied_etas function.

Value

.sutmats with an additional column "eta_i"

Examples

1
2
3
4
library(tidyr)
UKEnergy2000mats %>%
  spread(key = "matrix.name", value = "matrix") %>%
  calc_eta_i()

MatthewHeun/Recca documentation built on Feb. 21, 2020, 8:03 p.m.