For DC-connected batteries, the "Array DC power" output variable is the combined power of the battery and array, so it actually actually the DC power at the inverter input. It would be useful to show the array power and battery power as separate variables, or to rename the variable.
Results for DC-connected battery:

Same system, but AC-connected battery:

For DC-connected batteries, the "Array DC power" output variable is the combined power of the battery and array, so it actually actually the DC power at the inverter input. It would be useful to show the array power and battery power as separate variables, or to rename the variable.
Results for DC-connected battery:
Same system, but AC-connected battery: