Methanol-to-kerosene: correct efficiency and add VOM (#1320)
* MtK: add VOM * MtK: fix methanol input efficiency
This commit is contained in:
parent
0694cc60b8
commit
343aba1db9
@ -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)
|
||||
|
||||
|
@ -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"],
|
||||
|
Loading…
Reference in New Issue
Block a user