[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
84ddfea91e
commit
b934653b65
@ -2505,11 +2505,13 @@ def add_biomass(n, costs):
|
|||||||
marginal_cost=costs.at["BtL", "efficiency"] * costs.at["BtL", "VOM"],
|
marginal_cost=costs.at["BtL", "efficiency"] * costs.at["BtL", "VOM"],
|
||||||
)
|
)
|
||||||
|
|
||||||
#Electrobiofuels (BtL with hydrogen addition to make more use of biogenic carbon).
|
# Electrobiofuels (BtL with hydrogen addition to make more use of biogenic carbon).
|
||||||
#Combination of efuels and biomass to liquid, both based on Fischer-Tropsch.
|
# Combination of efuels and biomass to liquid, both based on Fischer-Tropsch.
|
||||||
#Experimental version - use with caution
|
# Experimental version - use with caution
|
||||||
if options['electrobiofuels'] and options.get("biomass_spatial", options["biomass_transport"]):
|
if options["electrobiofuels"] and options.get(
|
||||||
efuel_scale_factor = costs.at['BtL', 'C stored']
|
"biomass_spatial", options["biomass_transport"]
|
||||||
|
):
|
||||||
|
efuel_scale_factor = costs.at["BtL", "C stored"]
|
||||||
n.madd(
|
n.madd(
|
||||||
"Link",
|
"Link",
|
||||||
spatial.biomass.nodes,
|
spatial.biomass.nodes,
|
||||||
@ -2519,20 +2521,27 @@ def add_biomass(n, costs):
|
|||||||
bus2=spatial.h2.nodes,
|
bus2=spatial.h2.nodes,
|
||||||
bus3="co2 atmosphere",
|
bus3="co2 atmosphere",
|
||||||
carrier="electrobiofuels",
|
carrier="electrobiofuels",
|
||||||
lifetime=costs.at['electrobiofuels', 'lifetime'],
|
lifetime=costs.at["electrobiofuels", "lifetime"],
|
||||||
efficiency=costs.at['electrobiofuels', 'efficiency-biomass'],
|
efficiency=costs.at["electrobiofuels", "efficiency-biomass"],
|
||||||
efficiency2=-costs.at['electrobiofuels', 'efficiency-hydrogen'],
|
efficiency2=-costs.at["electrobiofuels", "efficiency-hydrogen"],
|
||||||
efficiency3=-costs.at['solid biomass', 'CO2 intensity'] + costs.at['BtL', 'CO2 stored']
|
efficiency3=-costs.at["solid biomass", "CO2 intensity"]
|
||||||
* (1 - costs.at['Fischer-Tropsch', 'capture rate']),
|
+ costs.at["BtL", "CO2 stored"]
|
||||||
|
* (1 - costs.at["Fischer-Tropsch", "capture rate"]),
|
||||||
p_nom_extendable=True,
|
p_nom_extendable=True,
|
||||||
capital_cost=costs.at['BtL', 'fixed']
|
capital_cost=costs.at["BtL", "fixed"]
|
||||||
* costs.at['BtL', 'efficiency'] / costs.at['electrobiofuels', 'efficiency-biomass']
|
* costs.at["BtL", "efficiency"]
|
||||||
+ efuel_scale_factor * costs.at['Fischer-Tropsch', 'fixed']
|
/ costs.at["electrobiofuels", "efficiency-biomass"]
|
||||||
* costs.at['Fischer-Tropsch', 'efficiency'] / costs.at['electrobiofuels', 'efficiency-hydrogen'],
|
+ efuel_scale_factor
|
||||||
marginal_cost=costs.at['BtL', 'VOM']
|
* costs.at["Fischer-Tropsch", "fixed"]
|
||||||
* costs.at['BtL', 'efficiency'] / costs.at['electrobiofuels', 'efficiency-biomass']
|
* costs.at["Fischer-Tropsch", "efficiency"]
|
||||||
+ efuel_scale_factor * costs.at['Fischer-Tropsch', 'VOM']
|
/ costs.at["electrobiofuels", "efficiency-hydrogen"],
|
||||||
* costs.at['Fischer-Tropsch', 'efficiency'] / costs.at['electrobiofuels', 'efficiency-hydrogen']
|
marginal_cost=costs.at["BtL", "VOM"]
|
||||||
|
* costs.at["BtL", "efficiency"]
|
||||||
|
/ costs.at["electrobiofuels", "efficiency-biomass"]
|
||||||
|
+ efuel_scale_factor
|
||||||
|
* costs.at["Fischer-Tropsch", "VOM"]
|
||||||
|
* costs.at["Fischer-Tropsch", "efficiency"]
|
||||||
|
/ costs.at["electrobiofuels", "efficiency-hydrogen"],
|
||||||
)
|
)
|
||||||
|
|
||||||
# BioSNG from solid biomass
|
# BioSNG from solid biomass
|
||||||
|
Loading…
Reference in New Issue
Block a user