Dynamic ESS charge more from excess solar energy and not form grid