Solar grid-connected power factor