message_ix icon indicating copy to clipboard operation
message_ix copied to clipboard

share_commodity_up set to 0 inactive

Open OFR-IIASA opened this issue 1 year ago • 0 comments

What happened?

When applying a zero value to the parameter share_commodity_up, the value is ignored by GAMS and is therefore non binding. The reason for this is because there is no set is_share_commodity_up created which is used to handle 0 values in GAMS. The current workaround is to set the bound to a significantly small value which isnt 0 e.g. 0.000001.

Code Sample

No response

What did you expect to happen?

When adding a a share_commodity_up bound of 0, the respective technologies contributing to meeting the share constraint shouldnt have any activity.

Versions

No response

Additional Context

No response

OFR-IIASA avatar Dec 20 '24 07:12 OFR-IIASA