[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
2055fe68ef
commit
1d709913ed
@ -2905,7 +2905,10 @@ def add_industry(n, costs):
|
||||
investment_year,
|
||||
)
|
||||
|
||||
if snakemake.config["industry"]["waste_to_energy"] and options["regional_oil_demand"]:
|
||||
if (
|
||||
snakemake.config["industry"]["waste_to_energy"]
|
||||
and options["regional_oil_demand"]
|
||||
):
|
||||
|
||||
n.madd(
|
||||
"Bus",
|
||||
@ -2924,7 +2927,9 @@ def add_industry(n, costs):
|
||||
bus3=spatial.co2.process_emissions,
|
||||
carrier="naphtha for industry",
|
||||
p_nom_extendable=True,
|
||||
efficiency2=non_sequestered*emitted_co2_per_naphtha/costs.at["oil", "CO2 intensity"],
|
||||
efficiency2=non_sequestered
|
||||
* emitted_co2_per_naphtha
|
||||
/ costs.at["oil", "CO2 intensity"],
|
||||
efficiency3=process_co2_per_naphtha,
|
||||
)
|
||||
|
||||
@ -2948,12 +2953,14 @@ def add_industry(n, costs):
|
||||
carrier="waste CHP",
|
||||
p_nom_extendable=True,
|
||||
# p_nom=biomass_potential['municipal solid waste'] / 8760,
|
||||
capital_cost=costs.at['waste CHP', 'fixed'] * costs.at['waste CHP', 'efficiency'],
|
||||
marginal_cost=costs.at['waste CHP', 'VOM'],
|
||||
efficiency=costs.at['waste CHP', 'efficiency'],
|
||||
capital_cost=costs.at["waste CHP", "fixed"]
|
||||
* costs.at["waste CHP", "efficiency"],
|
||||
marginal_cost=costs.at["waste CHP", "VOM"],
|
||||
efficiency=costs.at["waste CHP", "efficiency"],
|
||||
# efficiency4=costs.at['waste CHP', 'efficiency-heat'],
|
||||
efficiency2=costs.at['oil', 'CO2 intensity'],
|
||||
lifetime=costs.at['waste CHP', 'lifetime'])
|
||||
efficiency2=costs.at["oil", "CO2 intensity"],
|
||||
lifetime=costs.at["waste CHP", "lifetime"],
|
||||
)
|
||||
|
||||
# TODO add heat
|
||||
n.madd(
|
||||
@ -2966,14 +2973,15 @@ def add_industry(n, costs):
|
||||
carrier="waste CHP CC",
|
||||
p_nom_extendable=True,
|
||||
# p_nom=biomass_potential['municipal solid waste'] / 8760,
|
||||
capital_cost=costs.at['waste CHP CC', 'fixed'] * costs.at['waste CHP CC', 'efficiency'],
|
||||
marginal_cost=costs.at['waste CHP CC', 'VOM'],
|
||||
efficiency=costs.at['waste CHP CC', 'efficiency'],
|
||||
capital_cost=costs.at["waste CHP CC", "fixed"]
|
||||
* costs.at["waste CHP CC", "efficiency"],
|
||||
marginal_cost=costs.at["waste CHP CC", "VOM"],
|
||||
efficiency=costs.at["waste CHP CC", "efficiency"],
|
||||
# efficiency4=costs.at['waste CHP', 'efficiency-heat'],
|
||||
efficiency2=costs.at['oil', 'CO2 intensity']*(1 - options["cc_fraction"]),
|
||||
efficiency3=costs.at['oil', 'CO2 intensity']*options["cc_fraction"],
|
||||
lifetime=costs.at['waste CHP CC', 'lifetime'])
|
||||
|
||||
efficiency2=costs.at["oil", "CO2 intensity"] * (1 - options["cc_fraction"]),
|
||||
efficiency3=costs.at["oil", "CO2 intensity"] * options["cc_fraction"],
|
||||
lifetime=costs.at["waste CHP CC", "lifetime"],
|
||||
)
|
||||
|
||||
else:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user