Using stochastic activity networks to study the energy feasibility of automatic weather stations