Simulating the power consumption of large-scale sensor network applications | Synapse