Skip to content

Commit

Permalink
adapt global normalization factors according to JRC 2017
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianBarinton authored and Bachibouzouk committed Oct 29, 2024
1 parent e457e07 commit 903acab
Showing 1 changed file with 20 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,19 @@ def pre_processing_moo(wacc, element, element_path, element_df):
"""
# ---------------- MOO Normalization PARAMS ----------------
# Global Inputs (used for normalization)
global_GDP = (
norm_GDP = (
109.529 * 10**12
) # forecasted for 2024, Unit: [USD/a], Source: IMF (2024)
) # forecasted GDP for 2024, Unit: [USD/a], Source: IMF (2024)
# https://www.imf.org/en/Publications/WEO/weo-database/2024/April/weo-report?c=512,914,612,171,614,311,213,911,314,193,122,912,313,419,513,316,913,124,339,638,514,218,963,616,223,516,918,748,618,624,522,622,156,626,628,228,924,233,632,636,634,238,662,960,423,935,128,611,321,243,248,469,253,642,643,939,734,644,819,172,132,646,648,915,134,652,174,328,258,656,654,336,263,268,532,944,176,534,536,429,433,178,436,136,343,158,439,916,664,826,542,967,443,917,544,941,446,666,668,672,946,137,546,674,676,548,556,678,181,867,682,684,273,868,921,948,943,686,688,518,728,836,558,138,196,278,692,694,962,142,449,564,565,283,853,288,293,566,964,182,359,453,968,922,714,862,135,716,456,722,942,718,724,576,936,961,813,726,199,733,184,524,361,362,364,732,366,144,146,463,528,923,738,578,537,742,866,369,744,186,925,869,746,926,466,112,111,298,927,846,299,582,487,474,754,698,&s=NGDPD,&sy=2022&ey=2029&ssm=0&scsm=1&scc=0&ssd=1&ssc=0&sic=0&sort=country&ds=.&br=1
global_GHG = (
37.4 * 10**9
) # global CO2 emission in 2023; [tCO2/a], Source: iea (2024);
# https://www.iea.org/reports/co2-emissions-in-2023/executive-summary
global_land_surface = 148.94 * 10**12 # Unit: m²
total_renewable_water_resources = 54 * 10**9 # Unit: [m³/a], Source: CIA (2011),
# https://www.cia.gov/the-world-factbook/field/total-renewable-water-resources/
norm_GHG = (
5.79 * 10**13
) # normalization factor for climate change total, Unit: [kgCO2eq] Source: JRC: Sala (2017)
# S. Sala, Global normalisation factors for the environmental footprint and Life Cycle Assessment. Luxembourg: Publications Office, 2017.
# https://doi.org/10.2760/88930
norm_land_use = 9.64 * 10**15 # normalization factor for land use; Unit: pt, Source JRC: Sala (2017)
#TODO find out what is unit pt and adapt input description accordingly

norm_water_use = 7.91 * 10**13 # Unit: [m³ water of eq of deprived water] Source: JRC: Sala (2017)

# -------------- MOO Customizable Weights ------------------
wf_cost = 0.2
Expand Down Expand Up @@ -134,17 +136,19 @@ def pre_processing_moo(wacc, element, element_path, element_df):

ghg_emission_factor = row["ghg_emission_factor"]
land_requirement_factor = row["land_requirement_factor"]
#TODO adapt land requirement factor to "land use" for matching the respective JRC normalization factor
water_footprint_factor = row["water_footprint_factor"]
#TODO caclulate "water_use" instead of water footprint factor; too better match JRC normalization factors
print(f"capex: {capex}, lifetime: {lifetime}, wacc: {wacc}")
annuity = calculate_annuity(capex, opex_fix, lifetime, wacc)
moo_variable_capacity = (
carrier_cost / global_GDP
+ annuity / global_GDP * wf_cost
+ land_requirement_factor / global_land_surface * wf_lr
carrier_cost / norm_GDP
+ annuity / norm_GDP * wf_cost
+ land_requirement_factor / norm_land_use * wf_lr
)
moo_variable_flow = (
ghg_emission_factor / global_GHG * wf_ghg
+ water_footprint_factor / total_renewable_water_resources * wf_wf
ghg_emission_factor / norm_GHG * wf_ghg
+ water_footprint_factor / norm_water_use * wf_wf
)

if not np.isnan(moo_variable_capacity):
Expand Down Expand Up @@ -178,8 +182,8 @@ def pre_processing_moo(wacc, element, element_path, element_df):
water_footprint_factor = row["water_footprint_factor"]

moo_variable_flow = (
ghg_emission_factor / global_GHG * wf_ghg
+ water_footprint_factor / total_renewable_water_resources * wf_wf
ghg_emission_factor / norm_GHG * wf_ghg
+ water_footprint_factor / norm_water_use * wf_wf
)
element_df.at[index, moo_variable_var] = float(moo_variable_flow)
logger.info(
Expand Down

0 comments on commit 903acab

Please sign in to comment.