Abstract: Energy optimization is a critical challenge in wireless sensor networks (WSNs) due to its direct impact on the network lifetime. This paper proposes the use of the K-means algorithm combined ...