Voltage control in a power system with IPPs generation