Methanol-to-kerosene: correct efficiency and add VOM (#1320)

* MtK: add VOM

* MtK: fix methanol input efficiency
This commit is contained in:
Fabian Neumann 2024-09-23 15:52:57 +02:00 committed by GitHub
parent 0694cc60b8
commit 343aba1db9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View File

@ -231,10 +231,14 @@ def load_costs(tech_costs, config, max_hours, Nyears=1.0):
# set all asset costs and other parameters
costs = pd.read_csv(tech_costs, index_col=[0, 1]).sort_index()
# correct units to MW
# correct units from kW to MW
costs.loc[costs.unit.str.contains("/kW"), "value"] *= 1e3
costs.unit = costs.unit.str.replace("/kW", "/MW")
# correct units from GW to MW
costs.loc[costs.unit.str.contains("/GW"), "value"] /= 1e3
costs.unit = costs.unit.str.replace("/GW", "/MW")
fill_values = config["fill_values"]
costs = costs.value.unstack().fillna(fill_values)

View File

@ -943,11 +943,12 @@ def add_methanol_to_kerosene(n, costs):
suffix=f" {tech}",
carrier=tech,
capital_cost=capital_cost,
marginal_cost=costs.at[tech, "VOM"],
bus0=spatial.methanol.nodes,
bus1=spatial.oil.kerosene,
bus2=spatial.h2.nodes,
bus3="co2 atmosphere",
efficiency=costs.at[tech, "methanol-input"],
efficiency=1 / costs.at[tech, "methanol-input"],
efficiency2=-costs.at[tech, "hydrogen-input"]
/ costs.at[tech, "methanol-input"],
efficiency3=costs.at["oil", "CO2 intensity"] / costs.at[tech, "methanol-input"],