Design and implementation of a flexible intelligent electronic device for smart grid applications | IEEE Conference Publication | IEEE Xplore