Skip to contents

All functions

PerfectSubmats
Example energy conversion chain to demonstrate perfect substitution
PerfectSubtidy
Example energy conversion chain to demonstrate perfect substitution
S_units_from_tidy()
Extract an S_units matrix from a tidy data frame
UKEnergy2000mats
Energy consumption in the UK in 2000
UKEnergy2000tidy
Energy consumption in the UK in 2000
add_edge_ids()
Add edge ID numbers to an edge list
add_node_ids()
Add node ID numbers to an edge list
aggregate_cols
Aggregate data frame column names
all_stages
All energy conversion chain stages
alloc_cols
Columns in a data frame that contains final-to-useful allocations
any_start_with()
Tell if any of a vector of strings starts with another string
calc_A()
Calculate Z, K, C, D, A, B, and O matrices
calc_E()
Calculate the E matrix for embodied energy calculations
calc_ERRs_gamma()
Calculate energy return ratios for the gamma system boundary.
calc_E_EIOU()
Calculate embodied EIOU per industry output
calc_F_footprint_effects()
Upstream footprint and downstream effects matrices
calc_GH()
Calculate the G and H matrices for embodied energy calculations
calc_L() calc_G()
Calculates total requirements matrices (L_pxp and L_ixp or G_pxp and G_ixp)
calc_M()
Calculate embodied energy matrices
calc_agg_eta_pfus()
Calculate aggregations and efficiencies
calc_aggregates_from_ecc_prime()
Calculate aggregates from list of reconstructed ECCs
calc_embodied_EIOU()
Calculate various embodied EIOU matrices
calc_embodied_etas()
Embodied energy efficiencies
calc_embodied_mats()
Calculate various embodied energy matrices
calc_erois()
Calculate EROIs
calc_eta_fu_Y_eiou()
Calculate final-to-useful efficiencies for final demand and EIOU when last stage is final
calc_eta_i()
Calculate industry efficiencies
calc_eta_pfd()
Calculate aggregate (total) efficiencies
calc_io_mats()
Calculate several input-output matrices
calc_mats_locations_excel()
Calculate the origin and extent for each matrix
calc_yqfgW()
Calculate y, f, g, q, h, and r vectors and the W matrix
chop_Y() chop_R()
Chop the R and Y matrices and swim downstream/upstream
combine_RV()
Combine resource (R) and make (V) matrices into a make plus resource (R_plus_V) matrix
cooling_eu.products
A list of Cooling useful work products
despecified_aggregates()
Despecify and aggregate PSUT matrices
edge_list()
Create an edge list
efficiency_cols
Efficiency data frame column names
energy_types
A list of energy types
euproduct_aggregation_map
A list of Name - Eu.product list combinations
extend_fu_details_to_exergy()
Extend the final-to-useful details matrices from energy to exergy
extend_to_exergy()
Extend an ECC in PSUT format from energy to exergy
finaldemand_aggregates()
Final demand energy and exergy aggregates
find_p_industry_names()
Scrape primary industry names from R, V, and Y matrices
flows_unit_homogeneous()
Tell whether industry flows (inputs and outputs) are unit-homogeneous
get_all_products_and_industries()
Create lists of all products and industries
grouped_aggregates()
Perform grouping aggregations on PSUT matrices
hpm_eu.products
A list of High pressure matter (HPM) useful work products
hth_eu.products
A list of High temperature heat (HTH) useful work products
industry_cols
Primary industry column names
inputs_outputs_unit_homogeneous()
Tell whether industry inputs are unit-homogeneous and industry outputs are unit-homogeneous
inputs_unit_homogeneous()
Tell whether each industry's inputs are unit-homogeneous
ip_eu.products
A list of Information processing useful work products
l_eu.products
A list of Light useful work products
lth_eu.products
A list of Low temperature heat (LTH) useful work products
make_sankey()
Make a Sankey diagram
mechanical_eu.products
A list of Mechanical useful work products
mth_eu.products
A list of Medium temperature heat (MTH) useful work products
neu_eu.products
A list of Non-energy use useful work products
new_R_ps()
Calculates downstream effects of a new level of extracted resources
new_Y()
Reconstruct an economy given a new final demand matrix
new_k_ps()
Assess the effect of changing perfectly substitutable intermediate inputs to an industry
node_list()
Create a node list
nonenergy_products
Non-energy products
outputs_unit_homogeneous()
Tell whether industry outputs are unit-homogeneous
pfu_aggregates()
Aggregate to primary, final, and useful stages
phi_vec
A vector of phi (exergy-to-energy ratios) values
primary_aggregates()
Primary energy and exergy aggregates
prod_ind_names_colnames
Names of data frame columns containing Product and Industry matrix row and column names
products_unit_homogeneous()
Tell whether ECC products are unit-homogenous
propulsion_eu.products
A list of Propulsion useful work products
psut_cols
Physical Supply-Use Table (PSUT) data frame column names
region_aggregates()
Aggregate PSUT matrices into regions
remove_neu()
Remove Non-energy use from an energy conversion chain
replace_html_codes()
Un-escape HTML codes in text
resource_industries()
Resource industries
reverse()
Reverse an energy conversion chain
row_col_types
Names of row and column types in PSUT matrices
sankey_cols
Sankey diagram data frame column names
separate_RV()
Separate resource (R) and make (V) matrices from make plus resource (R_plus_V) matrices
simplify_edge_list()
Simplify an edge list
startsWith_any_of()
Tell if a string starts with any of a vector of strings
verify_IEATable_energy_balance()
Confirm that an IEA-style data frame conserves energy.
verify_SUT_energy_balance()
Confirm that an SUT-style data frame conserves energy.
verify_SUT_energy_balance_with_units()
Confirm that an SUT-style data frame conserves energy.
verify_SUT_industry_production()
Confirm that all Industries in an SUT-style data frame produce energy.
verify_chop_energy_sum()
Verify energy sum after chop calculations
waste_edges()
Create waste energy edges for an edge map
write_ecc_to_excel()
Write energy conversion chain matrices in an Excel file