Dear all, I don't know how to simulate LEACH protocol in WSNs with aggregating data at Cluster Head. Detail: The network is divided into many clusters. Every cluster has a Cluster Head and node members. In every cycle, all node members (n nodes) send data to CH (suppose packet's length is 2 bytes). After that, CH will aggregate data from 2n bytes into 2 bytes.