Sensor-Based Smart Metering with PID Control for Energy Theft Detection and Distribution Optimization | Synapse