Dynamic Modeling and Fault Analysis of Medium-Voltage Direct Current Microgrids