Advanced Three-Phase Energy Monitoring with CT Measurement, Digital Inputs, and Modbus Communication