Dynamic Reconfiguration in Sensor Networks with Regenerative Energy Sources