Closed rbolgaryn closed 7 years ago
Good catch. The _clean_up function removes all intermediate buses: https://github.com/lthurner/pandapower/blob/develop/pandapower/powerflow.py#L83 It should be called also when the power flow does not converge. Can you implement that?
fixed in commit 9801364 - _clean_up is called when loadflow doesn't converge, using an optional argument res=False.
See test in commit b418d43