Genetic algorithm has been widely used in different areas of optimization problems. It has been combined with renewable energy domain, photovoltaic system, in this thesis. To participate and win the solar boat race, a control program is needed and C++ has been chosen for programming. To implement the program, the mathematic model has been built. Besides, the approaches to calculate the boundaries related to condition have been explained. Afterward, the processing of the prediction and real time control function are offered. The program has been simulated and the results proved that genetic algorithm is helpful to get the good results but it does not improve the results too much since the particularity of the solar driven boat project such as the limitation of energy production