Skip to content

Commit

Permalink
Remaining TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
Bachibouzouk committed Apr 4, 2022
1 parent cff3836 commit 315fc63
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/D0_process_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,13 @@
PEAK_PV_GENERATION_PER_KWP,
PEAK_WIND_GENERATION_PER_KW,
MEAN_DEMAND_AC,
MEAN_DEMAND_AC_CRITICAL,
MEAN_DEMAND_DC,
MEAN_DEMAND_DC_CRITICAL,
PEAK_MEAN_DEMAND_RATIO_AC,
PEAK_MEAN_DEMAND_RATIO_AC_CRITICAL,
PEAK_MEAN_DEMAND_RATIO_DC,
PEAK_MEAN_DEMAND_RATIO_DC_CRITICAL,
ABS_PEAK_DEMAND_AC_SIDE,
PROJECT_LIFETIME,
WACC,
Expand Down
2 changes: 1 addition & 1 deletion src/G0_oemof_simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def run(experiment, case_dict):
experiment,
e_flows_df,
)

# TODO maybe separate critical and non critical here for results plotting
oemof_results.update(
{
SUPPLY_RELIABILITY_KWH: oemof_results[TOTAL_DEMAND_SUPPLIED_ANNUAL_KWH]
Expand Down
1 change: 1 addition & 0 deletions src/G1_oemof_create_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ def build(experiment, case_dict):
+ " faulty at enable_inverter_at_backout. Value can only be True or False"
)

# TODO maybe important for critical
"""
# ------------Allow shortage only for certain percentage of demand in a timestep------------#
if case_dict['allow_shortage'] is True:
Expand Down
8 changes: 8 additions & 0 deletions src/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@
BLACKOUT_FREQUENCY_STD_DEVIATION = "blackout_frequency_std_deviation"
SENSITIVITY_ALL_COMBINATIONS = "sensitivity_all_combinations"
DEMAND_AC_SCALING_FACTOR = "demand_ac_scaling_factor"
DEMAND_AC_CRITICAL_SCALING_FACTOR = "demand_ac_critical_scaling_factor"
DEMAND_DC_SCALING_FACTOR = "demand_dc_scaling_factor"
DEMAND_DC_CRITICAL_SCALING_FACTOR = "demand_dc_critical_scaling_factor"
STORAGE_SOC_INITIAL = "storage_soc_initial"
TOTAL_NUMBER_OF_EXPERIMENTS = "total_number_of_experiments"
PROJECT_SITE_NAME = "project_site_name"
Expand Down Expand Up @@ -270,7 +272,9 @@
DEMAND_PROFILE_DC = "demand_profile_dc"
DEMAND_PROFILE_DC_CRITICAL = "demand_profile_dc_critical"
ACCUMULATED_PROFILE_AC_SIDE = "accumulated_profile_ac_side"
ACCUMULATED_PROFILE_AC_CRITICAL_SIDE = "accumulated_profile_ac_critical_side"
ACCUMULATED_PROFILE_DC_SIDE = "accumulated_profile_dc_side"
ACCUMULATED_PROFILE_DC_CRITICAL_SIDE = "accumulated_profile_dc_critical_side"
TOTAL_DEMAND_AC = "total_demand_ac"
TOTAL_DEMAND_AC_CRITICAL = "total_demand_ac_critical"
PEAK_DEMAND_AC = "peak_demand_ac"
Expand All @@ -282,9 +286,13 @@
PEAK_PV_GENERATION_PER_KWP = "peak_pv_generation_per_kWp"
PEAK_WIND_GENERATION_PER_KW = "peak_wind_generation_per_kW"
MEAN_DEMAND_AC = "mean_demand_ac"
MEAN_DEMAND_AC_CRITICAL = "mean_demand_ac_critical"
MEAN_DEMAND_DC = "mean_demand_dc"
MEAN_DEMAND_DC_CRITICAL = "mean_demand_dc_critical"
PEAK_MEAN_DEMAND_RATIO_AC = "peak/mean_demand_ratio_ac"
PEAK_MEAN_DEMAND_RATIO_AC_CRITICAL = "peak/mean_demand_ratio_ac_critical"
PEAK_MEAN_DEMAND_RATIO_DC = "peak/mean_demand_ratio_dc"
PEAK_MEAN_DEMAND_RATIO_DC_CRITICAL = "peak/mean_demand_ratio_dc_critical"
ABS_PEAK_DEMAND_AC_SIDE = "abs_peak_demand_ac_side"

SUFFIX_COST_INVESTMENT = "_cost_investment"
Expand Down

0 comments on commit 315fc63

Please sign in to comment.