How to write the constraints in GAMS efficiently?

Problems with modeling
Post Reply
TsungHaoHu
User
User
Posts: 10
Joined: 5 years ago

How to write the constraints in GAMS efficiently?

Post by TsungHaoHu »

Hi all,
I posted "How to simplify the CCGT unit commitment model?" in GAMS World Modeling Topic,
I want to ask another question about the CCGTs' extension. When I added the number of CCGTs to 2 or more, it will difficult to simplify "CCGT_excl" and "CCGT_trans_excl" constraints.
For example, if I have 2 "CCGTs" in the model, it will become
"CCGT1_excl", "CCGT2_excl", "CCGT1_trans_excl", "CCGT2_trans_excl".

How to write the constraints in GAMS efficiently?

Related program files such as attachments.

Thanks.
Attachments
CCGTs.7z
(8.08 KiB) Downloaded 152 times
User avatar
bussieck
Moderator
Moderator
Posts: 1033
Joined: 7 years ago

Re: How to write the constraints in GAMS efficiently?

Post by bussieck »

There is a long discussion with an answer to this question in the following thread: viewtopic.php?f=9&t=10634&p=24730#p24693

-Michael
Post Reply