M-Bus DIN-Rail Multifunctional Single-Phase Energy Meter for Advanced Energy Management