Skip to content

Fix makeBdc function in makeBdc.py#32

Open
kdheepak wants to merge 1 commit intorwl:masterfrom
kdheepak:fix-makeBdc
Open

Fix makeBdc function in makeBdc.py#32
kdheepak wants to merge 1 commit intorwl:masterfrom
kdheepak:fix-makeBdc

Conversation

@kdheepak
Copy link
Contributor

This closes #31

@kdheepak
Copy link
Contributor Author

@rwl Any thoughts on these changes?

Copy link
Contributor

@yasirroni yasirroni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using constants such as -1 can cause bug later. It would be better to check bus numbering first, and reduce only if it's needed.

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.

makePTDF: buses must be numbered consecutivelymakeBdc: buses must be numbered consecutively in bus matrix

2 participants