In this work, the orientations will be directed towards the energy potential of Algeria (Conventional and renewable). Then, the understanding and analysis of the different aspects of the energy strategy (Production, Export) of the country, taking into account the role of renewable energies in the economy and energy efficiency of Algeria in the future. Finally a modeling of the most useful technologies in the production of electricity in Algeria, followed by an energy study of hybrid power plants (we will take the hybrid power plant of Hassi R'mel as an example). With the application of the method of least squares in each part of modeling to optimize the results of calculation.