Did you check whether there exist branches in your sub(!)network? If psanet.sub_networks.iloc[1,2].branches() is empty, this should be the problem.
--
You received this message because you are subscribed to the Google Groups "pypsa" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pypsa+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/pypsa/dc3646c4-e749-49ac-b90b-243d03e981cfn%40googlegroups.com.
Yes that's correct. Idk how your network looks like, but if the
subnetworks has no passive branches (and probably just one bus),
then you just skip it in your BODF analysis.
To view this discussion on the web, visit https://groups.google.com/d/msgid/pypsa/739dd5d5-90e7-4c3f-8123-852840370ab5n%40googlegroups.com.