Skip to content

Commit

Permalink
Add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardxtg committed Jun 7, 2024
1 parent b5d5224 commit 986d8a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tz/osemosys/model/constraints/trade.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def add_trade_constraints(ds: xr.Dataset, m: Model, lex: Dict[str, LinearExpress
m.add_constraints(con, name="EBa10_EnergyBalanceEachTS4_trn")

# Capacity
# TODO: add TradeCapacityToActivityUnit for first 2 trade capacity constraints
con = lex["GrossTradeCapacity"] * (1 - ds["TradeLossBetweenRegions"]) >= (
m["Export"] / (ds["YearSplit"])
)
Expand Down

0 comments on commit 986d8a4

Please sign in to comment.