A Newton–Raphson-Based Sequential Power Flow Algorithm for Hybrid AC/DC Microgrids