Simulation of Automatic Weather Stations for the Energy Estimation of Sensing and Communication Software Policies