A novel fault-analysis method for the power grid with inverter-interfaced distribution generators