Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

share_commodity_up set to 0 inactive #902

Open
OFR-IIASA opened this issue Dec 20, 2024 · 0 comments
Open

share_commodity_up set to 0 inactive #902

OFR-IIASA opened this issue Dec 20, 2024 · 0 comments
Labels
bug Doesn't work as advertised/unintended effects gams Related to the GAMS core formulation

Comments

@OFR-IIASA
Copy link
Contributor

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 OFR-IIASA added bug Doesn't work as advertised/unintended effects gams Related to the GAMS core formulation labels Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Doesn't work as advertised/unintended effects gams Related to the GAMS core formulation
Projects
None yet
Development

No branches or pull requests

1 participant