-
Notifications
You must be signed in to change notification settings - Fork 40
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
feat: add substation transmission capacity calculation #500
Conversation
18bfcbf
to
9648fca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and thanks for adding tests!
9648fca
to
b8d58f2
Compare
looks great! Do we have zone level calculate_capacity built-in method? |
Not yet, no. I believe it would be relatively straightforward to implement in the same way: we would just replace the substation lookup with a zone lookup. |
Pull Request doc
Purpose
Add a feature to calculate the maximum transmission capacity into or out of a substation. This can be helpful e.g. when working to troubleshoot feasibility for a new grid model, when designing a Grid for a new scenario, or when investigating capacity expansion candidates.
What the code is doing
In substations.py:
grid.branch
data frame which has additional columns forfrom_sub
andto_sub
.from_sub
andto_sub
columns, and sum the branch capacities for branches 'from' and 'to' each substation, excluding branches which are 'from' and 'to' the same substation.Testing
New unit test added. It features branches which have opposite to/from bus IDs (summed appropriately), and one branch with to/from buses within the same substation (not counted in any substation's capacity).
Usage Example/Visuals
Time estimate
15 minutes.