PyPSA/pypsa-usa
Clustering Assertion Error when cluster on `model_topology.include.reeds_ba`
Open
#676 opened on Aug 27, 2025
buggood first issue
Repository metrics
- Stars
- (140 stars)
- PR merge metrics
- (PR metrics pending)
Description
Version Checks (indicate both or one)
-
This bug exists on the master branch of PyPSA-USA.
-
This bug exists on the develop branch of PyPSA-USA.
The Issue
Thanks for the followup, @ktehranchi! Maybe a silly question on the clustering options.
I see now, from the graphics and your example, that I should have put
7asscenario.clusterswhen havingmodel_topology.include.reeds_babeERCO. I had set it to1. I guess I was expecting that if I had this set incorrectly for one of these asserts to be triggered? Am I missing something, or is this a bug?
Originally posted by @trevorb1 in #646
Steps To Reproduce
No response
Error Message
Anything else?
No response