Real-time voltage control to improve automation and quality in power distribution