added new algo for solar savings