Over the last decades, solar photovoltaic (PV) system on the low and medium voltage distribution network is growing dramatically. The power grids are still facing the experience of more penetration to satisfy electricity demand of the consumer. Another reason for solar PV penetration is government subsidies for the customers, decreasing the capital cost of solar PV, feed-in-tariff and to balance the CO2 emission from the atmosphere. The integration of PV system in low voltage or medium voltage ((LV/MV) distribution networks is raising new challenges in terms of power quality (PQ). In the LV/MV distribution networks, PQ problems are voltage sag and swell are the most serious concern, and it occurs when residential renewable energy sources (i.e., solar PV) produce more energy than the local demand. As per the PQ studies, voltage sag/swell issues in the LV/MV power grid considered to be the most common type of PQ issue. Impact of this type of issue on sensitive loads is harsh. Hence, different types of solution have been used to protect sensitive loads from such voltage problems, but the dynamic voltage restorer is to be considered, effective and efficient solution. Dynamic Voltage Restorer (DVR) is a series connected power electronic device which is used to alleviate the voltage sag/swell problem in the distribution system and restore the load voltage to the required value. Therefore, the main objective of this research project is to investigate and understand the impact of PQ issues in LV/MV distribution system and aim is to alleviate them. MATLAB/Simulink software is used to solve the PQ issues by designing battery supported DVR with energy storage systems. The performance of battery supported DVR is designed, simulated in MATLAB/Simulink software environment, and analysed in detail.