A case study of advanced metering infrastructure. (2018)