A Digital Protection Procedure for Smart Grid Reconfiguration after Faults