Single phase and three phase digital / Electronic energy meter