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 Aug 5, 2024
1 parent 687576e commit 2eb830a
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions scripts/prepare_sector_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -2780,12 +2780,11 @@ def add_low_t_industry(n, nodes, industrial_demand, costs, must_run):
* costs.at["solid biomass", "CO2 intensity"],
marginal_cost=costs.at["solid biomass boiler steam CC", "VOM"],
efficiency2=-costs.at["solid biomass", "CO2 intensity"]
* costs.at["biomass CHP capture", "capture_rate"],
* costs.at["biomass CHP capture", "capture_rate"],
efficiency3=costs.at["solid biomass", "CO2 intensity"]
* (1 - costs.at["biomass CHP capture", "capture_rate"])
- costs.at["solid biomass", "CO2 intensity"],
lifetime=costs.at["solid biomass boiler steam CC", "lifetime"],

)

if options["industry_t"]["low_T"]["methane"]:
Expand Down Expand Up @@ -2875,9 +2874,10 @@ def add_low_t_industry(n, nodes, industrial_demand, costs, must_run):

def add_medium_t_industry(n, nodes, industrial_demand, costs, must_run):
"""
Add medium temperature heat for industry. Medium and high temperature
heat demands are taken from today's industry methane demand and split
according to config setting.
Add medium temperature heat for industry.
Medium and high temperature heat demands are taken from today's
industry methane demand and split according to config setting.
"""

logger.info("Add medium temperature industry.")
Expand Down Expand Up @@ -3013,9 +3013,10 @@ def add_medium_t_industry(n, nodes, industrial_demand, costs, must_run):

def add_high_t_industry(n, nodes, industrial_demand, costs, must_run):
"""
Add high temperature heat for industry. Medium and high temperature
heat demands are taken from today's industry methane demand and split
according to config setting.
Add high temperature heat for industry.
Medium and high temperature heat demands are taken from today's
industry methane demand and split according to config setting.
"""

logger.info("Add high temperature industry.")
Expand Down

0 comments on commit 2eb830a

Please sign in to comment.