Power calculation of solar panels