Methodology for testing loss of mains detection algorithms for microgrids and distributed generation using real-time power hardware-in-the-loop based technique | IEEE Conference Publication | IEEE Xplore