Design and Development of a Static VAR Compensator for Load Compensation Using Real-Time Digital Simulator and Hardware Simulation