This article is part of a theoretical study based on the mathematical analysis of the new technology of solar cogeneration using the parabolic trough concentrator and the photovoltaic cell. Our main objective is to study the thermal performance of the parabolic cylindrical concentrator in the Rabat-Salé-Kénitra region of Morocco. The methodology is based on solving the energy balance equation of the thermal collector whose elements are the absorber, glass and fluid. The performance of these equations is obtained by the Runge Kutta (RK4) method based on experimental data extracted from the PVGIS software. The numerical solution is found by the Matlab code. The validation test is verified on the studied region of Rabat-Salé-Kénitra. The results of the comparison between the numerical solution and the experimental data corresponding to the different temperature of the thermal collector are encouraging. Finally the thermal performance of the collector is satisfied.