Energy-Centric Simulation and Design Space Exploration for Wireless Sensor Networks