Microgrid Resilient Power Supply and Fault Identification