Hi Ole,
How SAM dispatches the battery depends on the Storage Dispatch Options you choose on the Battery Storage page.
If you use the Manual Dispatch Model, be sure that you check the Allow box under Discharge for any periods you want the battery to help meet the load.
If you choose a peak shaving option, SAM will dispatch the battery to try to minimize demand charges, so it may only dispatch the battery during times of peak load.
SAM will always use grid power any time there is not enough power from the PV array or battery to meet the load.
For example, the following manual dispatch strategy will charge the battery at night, and use solar and battery power during the day to meet the load. If the PV array and battery are large enough, no grid power will be used during the day.
Best regards,
Paul.