Measurement and Communication Interfaces for Distributed Generation in Smart Grids