Quote Originally Posted by sayzer View Post
This should work
Code:
   Case is >= pvmin and is >= batt and is <= battmax
But this one seems to be better,
Code:
   Case is >= pvmin 
        if pv >= batt and pv <= battmax  then etc...

Thanks. I'll try that tonight when I get back home.