Real-time monitoring for smart power distribution