Solar photovoltaic electricity calculation