Voltage control in distribution networks with distributed generation