This research aims to study the optical and thermal performance of parabolic trough solar collectors (PTSC), taking into account internal parameters and meteorological conditions. A three-dimensional numerical model was developed and approved. An in-depth parametric analysis was carried out on the various factors influencing the thermal behavior of the collector. To optimize the absorber tube's exposure to solar radiation throughout the day, we have developed an electrical circuit that enables the PTSC to track the sun. All solar flux received by the concentrator is efficiently directed to the absorber surface, maximizing solar energy capture. Our system is thus both cost-effective and efficient in maximizing the use of the solar energy received. The behavior of this circuit was simulated using ISIS software to verify its functionality. Using the finite volume method with the Ansys Fluent 3D CFD tool, we carried out a complete analysis and resolution of the system of equations. We evaluated the performance of the PTSC as a function of mass flow rate and type of heat transfer fluid. When the mass flow rate increases from 0.001 kg/s to 0.003 kg/s, energy production rises from 4.0555 kwh to 4.1309 kwh over 23 hours. As far as the heat transfer fluid is concerned, thermal oil is an efficient heat transfer fluid, with an energy output of 4.8972 kwh.