Loss of mains detection for embedded generation by system impedance monitoring | doi.page