New communication technologies must be provided in order to improve the energy distribution. As far as we know, there is not any network protocol designed exclusively for this purpose. In this paper, we present the design and simulation of a group-based protocol to improve the energy distribution in smart grids. We will show the group-based architecture and the protocol operation. Finally we will show some measurements taken from a test bench in order to test its performance.