When I run the battery module the results show that there is power draw from the grid even when there is enough power from pv+battery to supply the load without the grid. This happens both when I use the SSC battery module and my own matlab code, or through SAM. The draw is not much, typically watts or tens of watts, but it is significant for my use (modeling an off-grid system). Initially I thought that the pv+batt system was undersized, but it seems to be an issue even when I significantly increase the capacity of both.
I've attached a SAM file and a sample image of its output data for reference. This isn't the same model I've been using but it's demonstrative of the problem I've been having.
Is there a way I can avoid drawing from the grid like this?