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

Fix update of starting transmission capacity in multistage GenX #633

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

filippopecci
Copy link
Collaborator

Fixing bug in function fix_initial_investments, introduced by #326 . The aim of this PR was to set the initial capacity at stage t using the available capacity in stage t-1 only for generators whose indices are in RET_CAP.

However, fix_initial_investments does not consider only generators, but also transmission lines. So if the index of a given transmission line does not happen to be in RET_CAP, the available capacity of that transmission line at stage t-1 will not be carried over to stage t.

As a result of this bug, GenX believes that it has not built any transmission capacity in previous stages for those lines whose indices are not in RET_CAP, and so in every stage after the first one GenX will build a lot more transmission capacity than it should.

@filippopecci filippopecci merged commit aed9b9a into main Feb 14, 2024
2 of 3 checks passed
@filippopecci filippopecci deleted the hotfix_multistage_transmission branch February 14, 2024 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants