Design of a Bidirectional Electrical Energy Measurement System for Applications in Distributed Generation | IEEE Conference Publication | IEEE Xplore