Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 17, 2023
1 parent 8af1fe5 commit 6366dc4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/add_electricity.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,9 +638,7 @@ def attach_OPSD_renewables(n, tech_map):

def estimate_renewable_capacities(n, electricity_params, countries):
year = electricity_params["estimate_renewable_capacities"]["year"]
tech_map = electricity_params["estimate_renewable_capacities"][
"technology_mapping"
]
tech_map = electricity_params["estimate_renewable_capacities"]["technology_mapping"]
expansion_limit = electricity_params["estimate_renewable_capacities"][
"expansion_limit"
]
Expand Down Expand Up @@ -828,7 +826,9 @@ def add_nice_carrier_names(n, config):
"technology_mapping"
]
attach_OPSD_renewables(n, tech_map)
estimate_renewable_capacities(n, snakemake.params["electricity"],snakemake.params["countries"])
estimate_renewable_capacities(
n, snakemake.params["electricity"], snakemake.params["countries"]
)

update_p_nom_max(n)

Expand Down

0 comments on commit 6366dc4

Please sign in to comment.