discharging solar energy