Calculate the G and H matrices for embodied energy calculations
Usage
calc_GH(
.iomats = NULL,
Y = "Y",
L_ixp = "L_ixp",
R = "R",
A = "A",
q = "q",
G_V = "G_V",
G_R = "G_R",
G = "G",
H_V = "H_V",
H_R = "H_R",
H = "H"
)Arguments
- .iomats
a data frame containing matrices that describe the Input-Output structure of an Energy Conversion Chain.
.iomatswill likely have been obtained from thecalc_io_matsfunction.- Y
final demand (
Y) matrix or name of the column in.iodatacontaining same. Default is "Y".- L_ixp
industry-by-product Leontief (
L_ixp) matrix or name of the column in.iodatacontaining same. Default is "L_ixp".- R
Resources (
R) matrix or name of the column in.iodatacontaining same. Default is "R".- A
The name of the
Amatrix column in the.iomatsdata frame. Default is "A".- q
The name of the
qvector in the.iomatsdata frame. Default is "q".- G_V
name for the
G_Vmatrix on output. Default is "G_V".G_Vis calculated byL_ixp * y_hat.- G_R
name for the
G_Rmatrix on output. Default is "G_R".G_Ris calculated byR * q_hat_inv * L_pxp * y_hat.- G
name for the
Gmatrix on output. Default is "G".Gis calculated byG_R + G_V.- H_V
name for the
H_Vmatrix on output. Default is "H_V".H_Vis calculated byL_ixp * Y.- H_R
name for the
H_Rmatrix on output. Default is "H_R".H_Ris calculated byR * q_hat_inv * L_pxp * Y.- H
name for the
Hmatrix on output. Default is "H".His calculated byH_V + H_R.