Skip to content

Commit

Permalink
before holiday
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Eggimann committed Dec 20, 2018
1 parent 6aca867 commit 595b675
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions energy_demand/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,10 @@ def energy_demand_model(
raise Exception("The defined .ini file does not exist_ {}".format(sys.argv[1]))
config = data_loader.read_config_file(path_config)


data = {}

sim_yrs = [2015, 2020, 2025, 2030, 2035, 2040, 2045, 2050]
#sim_yrs = [2015, 2020, 2050] #, 2050]
sim_yrs = [2015, 2030, 2050]
sim_yrs = [2015, 2050]

if len(sys.argv) > 3: #user defined arguments are provide
scenario_name = str(sys.argv[2])
Expand All @@ -115,7 +113,7 @@ def energy_demand_model(

#name_config_path = 'h_c'
#name_config_path = 'l_c'
name_config_path = 'h_max'
#name_config_path = 'h_max'
#name_config_path = 'h_min'
#name_config_path = 'l_max'
name_config_path = 'l_min'
Expand Down
2 changes: 1 addition & 1 deletion energy_demand/result_processing/weather_result_charts.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def main(
field_to_plot=field_to_plot,
unit='percentage',
seperate_legend=False,
bins=[0.5, 1.0])
bins=[0.000001, 0.25, 0.5, 0.75, 1, 1.25, 1.5])

field_to_plot = 'std_dev'
fig_3_weather_map.total_annual_demand(
Expand Down

0 comments on commit 595b675

Please sign in to comment.