Electrical energy metering in compliance with recent European standards