Renewable energy sources (wind turbine and photovoltaic system) are connected to the smart grid to promote the grid power, but the output of these sources is changed due to the sunlight and wind speed variations. Power storage system has the ability to reduce variations in a power system. Battery energy storage system (BESS) and superconducting magnetic energy storage system (SMES) are good solutions for this problem. The storage unit is connected to a power system at the point of common coupling and is able to absorb/store both active and reactive powers from this system and inject them into the power system in the peak demand periods. A control strategy based on proportional-integrative-derivative (PID) and model predictive controller (MPC) are used to control (SMES/BESS) to enhance the transient performance of a smart grid. The proposed algorithm has been tested on standard IEEE 5-bus system connected to wind turbine distributed generator, non-linear loads, and storage device (BESS/SMES) to verify the superiority of the presented method. The simulation results show that the performance of SMES with PID is more efficient than BESS with PID, but they have nearly the same output when MPC control strategy is used. 2 Types of energy storage devices The increasing focus on large-scale integration of renewable energy sources (wind turbine and photovoltaic system) introduces