Network reconfiguration method subsequent to faults in the medium-voltage distribution grid