The ins and outs of PV power generation