Smart Inverter Operation for Solving Voltage Regulation Problems in Distribution Systems