Working solar gains implementation