Heat calculation of solar collector