So here is my latest try.
and this gives me this
Ideally what i would like to do is
1, charge my battery till max.
2, if there is solar, provide power to the load and or charge battery till max. excess power goes back to the grid.
3, if no solar, use battery but dont send power to the...