Simulations of the calculation of solar productivity of cities