Skip to content

Commit

Permalink
fix: negative price necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
energyLS committed Aug 19, 2024
1 parent 9c3badc commit 3e1895e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/add_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def add_export(n, hydrogen_buses_ports, export_profile):
carrier="H2",
sign=-1,
p_nom_extendable=True,
marginal_cost=snakemake.params.endogenous_price,
marginal_cost=snakemake.params.endogenous_price * (-1),
)

else:
Expand Down

0 comments on commit 3e1895e

Please sign in to comment.