This document discusses modeling and simulation of a Dynamic Voltage Restorer (DVR) to protect sensitive loads from voltage sags and swells. The DVR uses an improved d-q-0 controller technique and PWM inverter to compensate for single line ground faults and three-phase faults. Key components of the DVR include an injection transformer, filter unit, PWM inverter, energy storage, and control system. The document evaluates the performance of the proposed DVR method through Matlab/Simulink simulations.