Solar power generation battery pack matching