PASES: An Energy-Aware Design Space Exploration Framework for Wireless Sensor Networks