Adding grid for voltage and power factor and fixing power factor