Skip to contents

Extends the energy conversion chain from a final energy last stage to useful energy last stage. Details about the conversion from final to useful are retained via matrices Y_fu_details and U_EIOU_fu_details. The last-stage-useful energy conversion chain PSUT matrices are bound as rows at the bottom of the psut_final data frame, albeit with "Useful" instead of "Final" in the Last.stage column.

Usage

move_to_useful_with_details(
  psut_final,
  C_mats,
  eta_phi_vecs,
  countries,
  country = IEATools::iea_cols$country,
  year = IEATools::iea_cols$year,
  C_Y = IEATools::template_cols$C_Y,
  C_eiou = IEATools::template_cols$C_eiou
)

Arguments

psut_final

A data frame with rows that describe the energy conversion chain with final energy as the last stage.

C_mats

A data frame with allocation matrices, probably the Cmats target.

eta_phi_vecs

A data frame with final-to-useful efficiency and exergy-to-energy ratio vectors.

countries

The countries to be analyzed.

country, year

See IEATools::iea_cols.

C_Y, C_eiou

See IEATools::template_cols.

Value

A data frame with energy conversion chain matrices with last stage as useful energy.