Skip to content

Commit

Permalink
Merge pull request #64 from pommes-public/63-include-updated-commodit…
Browse files Browse the repository at this point in the history
…y-price-data

Include updated commodity prices
  • Loading branch information
jokochems authored Nov 3, 2023
2 parents de9bf67 + 2c008f2 commit 27c22f6
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 13 deletions.
1 change: 0 additions & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ control_parameters:
solver: "gurobi"
solver_commandline_options: False
fuel_cost_pathway: "NZE"
fuel_price_shock: "high"
emissions_cost_pathway: "long-term"
activate_emissions_limit: False
emissions_pathway: "100_percent_linear"
Expand Down
1 change: 0 additions & 1 deletion pommesdispatch/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ def create_default_config():
solver: "gurobi"
solver_commandline_options: False
fuel_cost_pathway: "NZE"
fuel_price_shock: "high"
emissions_cost_pathway: "long-term"
activate_emissions_limit: False
emissions_pathway: "100_percent_linear"
Expand Down
5 changes: 1 addition & 4 deletions pommesdispatch/model_funcs/data_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,7 @@ def parse_input_data(dm):
"sources_renewables_ts": "sources_renewables_ts",
"transformers_minload_ts": "transformers_minload_ts",
"transformers_availability_ts": "transformers_availability_ts",
"costs_fuel": (
f"costs_fuel_{dm.fuel_cost_pathway}"
+ f"_{dm.fuel_price_shock}_nominal"
),
"costs_fuel": f"costs_fuel_{dm.fuel_cost_pathway}_nominal",
"costs_fuel_ts": "costs_fuel_ts",
"costs_emissions": (
f"costs_emissions_{dm.emissions_cost_pathway}_nominal"
Expand Down
1 change: 0 additions & 1 deletion pommesdispatch/model_funcs/model_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ def __init__(self):
self.solver = None
self.solver_commandline_options = None
self.fuel_cost_pathway = None
self.fuel_price_shock = None
self.emissions_cost_pathway = None
self.activate_emissions_limit = None
self.emissions_pathway = None
Expand Down
1 change: 0 additions & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ def test_create_default_config(self):
"solver": "gurobi",
"solver_commandline_options": False,
"fuel_cost_pathway": "NZE",
"fuel_price_shock": "high",
"emissions_cost_pathway": "long-term",
"activate_emissions_limit": False,
"emissions_pathway": "100_percent_linear",
Expand Down
1 change: 0 additions & 1 deletion tests/test_data_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ def create_dispatch_model():
{
"path_folder_input": "tests/csv_files/",
"fuel_cost_pathway": "NZE",
"fuel_price_shock": "high",
"emissions_cost_pathway": "long-term",
"start_time": "2017-01-01 00:00:00",
"end_time": "2017-01-02 00:00:00",
Expand Down
1 change: 0 additions & 1 deletion tests/test_dispatch_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def create_test_config():
solver: "cbc"
solver_commandline_options: False
fuel_cost_pathway: "NZE"
fuel_price_shock: "high"
emissions_cost_pathway: "long-term"
activate_emissions_limit: False
emissions_pathway: "100_percent_linear"
Expand Down
2 changes: 0 additions & 2 deletions tests/test_model_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def return_model_and_parameters():
"solver": "cbc",
"solver_commandline_options": False,
"fuel_cost_pathway": "NZE",
"fuel_price_shock": "high",
"emissions_cost_pathway": "long-term",
"activate_emissions_limit": False,
"emissions_pathway": "100_percent_linear",
Expand Down Expand Up @@ -113,7 +112,6 @@ def test_dispatch_model_constructor(self):
"countries",
"solver",
"fuel_cost_pathway",
"fuel_price_shock",
"activate_emissions_limit",
"emissions_pathway",
"activate_demand_response",
Expand Down
1 change: 0 additions & 1 deletion tests/test_subroutines.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ def create_inputs_model_and_nodes(activate_demand_response=False):
{
"path_folder_input": "tests/csv_files/",
"fuel_cost_pathway": "NZE",
"fuel_price_shock": "high",
"emissions_cost_pathway": "long-term",
"start_time": "2017-01-01 00:00:00",
"end_time": "2017-01-02 00:00:00",
Expand Down

0 comments on commit 27c22f6

Please sign in to comment.