B2B B2C Architecture for Smart Meters using IoT and Machine Learning: a Brazilian Case Study | IEEE Conference Publication | IEEE Xplore