Mitigating Electrical Losses Through a Programmable Smart Energy Advanced Metering Infrastructure System | IEEE Conference Publication | IEEE Xplore