Closed allenmlowe closed 2 years ago
Using the latest code, at 4:00 AM, P-1 has only a flow of 0.03 L/s because the iteration stopped iterating despite more than 8753m max head error. This only happens when P-1 has a constant power entered, not with pump curves.
Function hasconverged in hydrosolver does not usually process headloss error and flow change because the default value for HeadErrorLimit and FlowChangeLimit is 0.0.
Solution is to change default to 0.01 or remove the check for > 0.0