Residential PV battery integration