Design of an Energy Monitoring System for a Medium-Scale Plant