Design and simulation of unified power flow controller with grid storage