International Journal of Electrical and Computer Engineering (IJECE) Vol. No. October 2025, pp. ISSN: 2088-8708. DOI: 10. 11591/ijece. Comparison of long short-term memory and deep neural network optimized neural networks for maximum power tracking of wind turbines Ezzitouni Jarmouni1. Ahmed Mouhsen2. Mohamed Lamhamdi1. Ennajih Elmehdi3. Naoual Ajedioui1. En-Naoui Ilias1 Laboratory of Energy. Materials. Instrumentation and Telecom. Faculty of Sciences and Technology. Hassan First University of Settat. Settat. Morocco Laboratory of Engineering. Industrial Management and Innovation. Faculty of Sciences and Technology. Hassan First University of Settat. Settat. Morocco Watch Laboratory of Emerging Technologies. Faculty of Sciences and Technology. Hassan First University of Settat. Settat. Morocco Article Info ABSTRACT Article history: In wind energy conversion systems, maximum power point tracking (MPPT) performance is crucial, as it is directly related to wind speed variability and the characteristics of the equipment used. Maximum power point tracking controllers are essential for optimizing the efficiency of wind power This paper presents the development of three distinct approaches to maximum power point tracking: the classical perturb and observe (P&O) method, and two other techniques based on artificial intelligence, namely long short-term memory (LSTM) networks and deep neural networks (DNN. Rather than focusing solely on the development of an intelligent neural network-based maximum power point tracking model, our work emphasizes the design of a deep neural network controller with an optimized architecture and a reduced number of layers and neurons per layer, thereby simplifying its implementation in embedded process control units while maintaining high maximum power point tracking performance. The results obtained show that our optimized deep neural network model identifies the point of maximum power more effectively than other techniques, demonstrating remarkable performance in terms of response time, accuracy, and the quality of the generated power. Received Jan 7, 2025 Revised Jun 10, 2025 Accepted Jul 12, 2025 Keywords: Deep neural network Long short-term memory Maximum power point tracking Optimizations Perturbation and observation wind turbines This is an open access article under the CC BY-SA license. Corresponding Author: Ezzitouni Jarmouni Laboratory of Energy. Materials. Instrumentation and Telecom. Faculty of Sciences and Technology. Hassan First University of Settat BP: 577. Route de Casablanca. Settat. Morocco E-mail: ezzitouni. jarmouni@gmail. INTRODUCTION Renewable energy sources, particularly wind power, are playing a key role in the global transition to sustainable energy . Wind farms generate electricity by harnessing the kinetic energy of the wind, thereby reducing dependence on fossil fuels and cutting greenhouse gas emissions. For wind turbines to operate efficiently, it is necessary to extract as much power as possible despite variations in wind speed. This fluctuation complicates the maximum power point tracking (MPPT) process. For each specific wind speed, there is an optimum operating point that guarantees maximum energy production. This is why MPPT algorithms are essential for continuously adjusting turbine performance to achieve maximum energy production . , . Journal homepage: http://ijece. Int J Elec & Comp Eng ISSN: 2088-8708 To increase energy extraction from wind turbines, conversion systems often use permanent magnet synchronous generators (PMSG. , which has given rise to extensive research into optimization strategies . , . Numerous MPTT methods and converter designs have been proposed to improve efficiency. These methods vary in terms of cost, convergence speed, complexity, sensor requirements and simplicity of implementation . MPPT techniques are generally grouped into classical and artificial intelligence methods . Ae. Traditional approaches such as fractional open-circuit voltage (VOC) and incremental conductance (IC), hill climbing (HC), and perturb and observe (P&O), are simple but can react slowly to rapid wind Solutions based on artificial intelligence, such as neural networks and fuzzy logic, can overcome these limitations and achieve higher performance. These latter make it possible to model the relationships between different system variables in a complex way, and to adapt the control strategy in real time. Most existing work in the literature of wind turbine maximum power point tracking focuses on improving tracking speed, reducing oscillations, and maximizing extracted power. Our work continues to pursue these objectives while proposing an innovative approach: an optimized MPPT model, designed to minimize computational resources while guaranteeing high-performance tracking. This article presents the application of three maximum power point tracking techniques: one classical technique, that is, perturbation and observation, and two intelligent techniques, which are artificial neural network architectures, long shortterm memory (LSTM) and deep neural networks (DNN). In particular, we focus on optimizing the structure of neural networks to reduce their complexity and facilitate their implementation in embedded systems. This document is divided into four main sections. First, the wind turbine and PMSG generator models are described in detail. Next, the development and validation of the control strategies are presented. The third part discusses the simulation results. Finally, the conclusion summarizes the study and presents prospects for future improvements. THE STUDIED WIND TURBINE SYSTEMS As shown in Figure 1, the system under study comprises a wind turbine equipped with a permanent magnet synchronous generator. This device transforms the wind's mechanical energy into electrical energy in the form of three-phase alternating current. The electrical energy generated by the PMSG is then rectified into direct current by a diode bridge. This direct current is then boosted in voltage by a boost converter, enabling the maximum power point to be tracked and the voltage level to be adapted to the requirements of the electrical load. The key element of our system is the maximum power point tracking control techniques. These techniques, such as perturb and observe, long short-term memory networks and deep neural networks, aim to continuously optimize the operation of the wind turbine in order to get the maximum available energy from the wind. By adjusting the generator's operating point, the system's energy efficiency is maximized. Figure 1. Block diagram of the studied system Model of wind turbine The wind turbine is a device used for converting the wind's energy from kinetic energy into mechanical energy. This conversion process can be described by an equation that relates the mechanical power produced (P. to the wind speed . Ae. Comparison of long short-term memory and deep neural network optimized A (Ezzitouni Jarmoun. A ISSN: 2088-8708 ycEyco = yaycy yuUyuUycIyc2 ycOyc2 In permanent operation, this power is proportional to the air density . uU), the area swept by the blades . etermined by the turbine radius R. , and the cube of the wind speed (V. A coefficient of performance (C. is also included in this equation, representing the turbine's energy efficiency. This coefficient is strongly influenced by geometric parameters such as the number of blades, their pitch, and their profile, and is theoretically limited by Betz's law. The tip speed ratio () is defined as the relationship between the speed of the blade tips and the wind speed: yuI= yuycIyc ycOyc The torque produced by the turbine . cNyco ) is then expressed by . ycNyco = yco = yaycy . uI, y. yuUyuUycIyc2 ycOyc2 When the speed ratio is kept at its optimal value yuI_ycuycyyc, the power coefficient reaches its maximum yaycy_ycoycaycu. In this condition, the maximum extractable power from the wind turbine is: ycEyc yaycyycA yuUyuUycIyc2 ycOyc2 Figure 2 illustrates that for each wind speed. There is an optimal rotor speed that allows the turbine to capture maximum power. This fluctuation in the power point highlights the importance of developing and integrating effective monitoring or tracking methods to ensure wind turbines consistently produce maximum Figure 2. Power curves for a wind turbine at various wind speeds Permanent magnet synchronous generator model PSMGs are commonly employed in wind energy systems and operate on three phases produced by stator field windings. By neglecting the homopolar components of the flux, the model can be simplified using Park transformations . Ae. The simplified mathematical model is described by the system of . ycOycc = OeycIyc yaycc Oe yaycc ycOyc = OeycIyc yayc Oe yayc { yccyc yuiyayc yayc yuiyaycc yaycc yuiOIyce = Oe yc yaycc yui yayc ya Oe ycOycc yaycc yc yaycc ycI ya yayc yayc yayc = Oe yc yayc Oe yui ( ycc yaycc OIyce ) ycO yayc yc Int J Elec & Comp Eng. Vol. No. October 2025: 4454-4464 Int J Elec & Comp Eng ISSN: 2088-8708 The electromagnetic torque can then be defined by . 3 ycE ycNyceyco = ( ) [. aycc Oe yayc )yaycc yayc yayc OIyce ] . where ycE denotes the number of pole pairs and O is the generatorAos angular speed. The OIyce refers to the permanent magnet flux. yaycc and yayc are the direct and quadrature components of the stator current, respectively. ycOycc and ycOyc indicates the direct and quadrature voltages of the stator. yaycc and yayc stands for the statorAos direct and quadrature inductances, and ycIyc represents the stator resistance. WIND ENERGY CONVERSION SYSTEM (WECS) CONTROL STRATEGY Renewable energy sources, such as wind turbines, are characterized by intermittent and fluctuating energy production. To maximize energy capture from these sources. MPPT algorithms are used. By tracking the power of the DC link and dynamically adjusting the system's operating parameters. MPPT techniques enable the system to track the point of maximum power and extract the maximum available power from the wind resource . Ae. To overcome the limitations of conventional MPPT controllers . ixed pitch, oscillations around the MPP, low tracking efficiency, complexity due to a large number of hidden neuron. , we propose intelligent MPPT controllers based on an optimized DNN and LSTM neural network. For MPPT control, neural network training involves pre-processing noisy data, then dividing it into training, validation and test sets. In both DNN and LSTM cases, the controller uses voltage . cOyccyca ) and current . ayccyca ) as inputs and aims to optimally adjust the duty cycle of the DC/DC converter. This section will be dedicated to the presentation of the controllers (LSTM and DNN) used and their development stages. Long short-term memory (LSTM) LSTMs are a type of recurrent neural network (RNN) ideal for time series data. They are useful for optimizing energy extraction in wind turbines by implementing MPPT algorithms. In this study, we propose to use an LSTM network to predict the MPP of a wind turbine in real time. In the case of MPPT control. LSTMs are trained to model the non-linear relationship between input variables . oltage, curren. and the output variable . uty cycl. used to control the DC/DC inverter. Table 1 illustrates the components of the LSTM controller architecture used in this study. It shows a two-dimensional input sequence processed by a 10-unit LSTM layer, plus a fully connected layer and a regression output layer with a single output. Figure 3 shows the performance of the LSTM controller. The first curve illustrates the evolution of root mean square error (RMSE). This curve shows a rapid decrease in error at the start of training, then stabilizes at a low value. This indicates that the model is learning efficiently from the training data and is achieving satisfactory performance. The second curve represents the loss function, whose evolution is almost similar to that of the RMSE. The decrease in this loss means that the model is successfully minimizing the difference between its predictions and actual values. Figure 3. LSTM controller training performances Comparison of long short-term memory and deep neural network optimized A (Ezzitouni Jarmoun. A ISSN: 2088-8708 Table 1. The used LSTM controller architecture Name Sequence input with 2 dimensions LSTM with 10 hidden units Fully Connected R-mean-squared-error Type Sequence input LSTM fully connected layer Regression output Activations Optimized deep neural networks ANNs are information processing systems inspired by the human brain. They have been the subject of intense research and the extraction of pertinent information from complex data. Their flexible architecture enables ANNs to learn patterns, make predictions and aid decision-making in many areas, such as MPPT for wind turbines, which is their application objective in our case. Figure 4 shows the architecture of an ANN conceived for tracking the point of maximum power. The neural network uses voltage and current as inputs. It is trained to predict the optimal duty cycle to apply to the DC/DC converter, with the aim of extracting maximum power from the wind turbine. The design of neural networks poses challenges of computational complexity, as the number of layers in the network can lead to excessive computation times. It is crucial to find a balance between model complexity and capacity for generalization. This study aims to optimize the architecture of a deep neural network to reduce computational costs while maximizing performance. To achieve this, we carried out several series of experiments. We varied parameters such as the number of hidden and output layers (HL and HO), activation functions, number of neurons per layer, number of learning iterations and optimization The detailed results of these experiments are presented in Table 2. Figure 4. MPPT artificial neural network architecture Table 2. Summary of best training results Algorithm Variable learning rate gradient descent Gradient descent with momentum The resilient backpropagation algorithm Levenberg-Marquardt MLP model structure . -10-. -4-. -6-. -3-. -4-. -7-. -5-. -9-. -12-. -5-. -7-. -9-. HL and OL Logsig - Purelin Tansig - Purelin Purelin - Purelin Logsig - Purelin Tansig - Purelin Purelin - Purelin Logsig - Purelin Tansig - Purelin Purelin - Purelin Logsig - Purelin Tansig - Purelin Purelin - Purelin R square MSE . NA of Epoch Table 2 shows that, when using the Levenberg-Marquardt algorithm as the training optimization approach with a . -5-. architecture and using the Logsig-Pulin activation functions as the hidden layer and output layer activation functions, respectively, we achieved satisfactory results in terms of MSE and correlation coefficient at epoch 74. These improved results are shown in Figures 5. Analysis of the performance curve reveals two distinct phases in model learning. From the first few epochs we observe a rapid decrease in the mean square error, reflecting effective mapping of relationships in the data and a Int J Elec & Comp Eng. Vol. No. October 2025: 4454-4464 Int J Elec & Comp Eng ISSN: 2088-8708 correctly adjusted learning rate. This initial phase shows a progressive convergence towards a remarkable minimum value of 4,8489y10-5 reached at 74 epochs. The final stabilization of the error at this extremely low level . f the order of 10-. , with no noticeable fluctuation, confirms not only the model's ability to perfectly minimize the gap between predictions and target values, but also the absence of overlearning. Moreover, the correlation coefficient shown in Figure 5. is very close to 1, shows the strong correlation between the optimized DNN model outputs and desired outputs. Figure 5. DNN model performance: training, validation and testing . DNN training performance and . regression analysis of the DNN model RESULTS AND DISCUSSION The objective of this section is to present, analyze, and compare the results of maximum power point tracking provided by the LSTM and DNN models, as well as by the classic P&O method. To validate the robustness of the models we have developed, we will test them under two distinct operational conditions. The first will involve tracking the maximum power point in an environment of constant wind speed, while the second will assess their ability to adapt to variations in wind speed. Scenario 1: Constant wind speed In this case, the wind turbine was given a constant wind speed . Figures 6. , 6. , and 6. illustrate the maximum power produced using different methods: respectively, the method based on the perturbation-observation technique (P&O_P), the proposed method based on the LSTM model (LSTM_P). Comparison of long short-term memory and deep neural network optimized A (Ezzitouni Jarmoun. A ISSN: 2088-8708 and the method based on the proposed optimized DNN model (DNN_P). Figure 6. shows a comparison between the power extracted by the three techniques and the theoretical maximum power (Theoretical_P). is clear that the three methods are very close in terms of maximum power, but a significant difference is observed when using the proposed DNN model. In fact, the use of the optimized DNN model offers higher performance, with an efficiency of 98. 7% and a remarkable tracking speed. The optimized DNN model succeeds in locating the point of maximum power in 0. 032 seconds. Figure 6. The maximum power extracted . onstant wind spee. P&O_P, . LSTM_P, . DNN_P, and . Theoretical_P Int J Elec & Comp Eng. Vol. No. October 2025: 4454-4464 Int J Elec & Comp Eng ISSN: 2088-8708 Scenario 2: variable wind speed To validate the robustness of the tracking system in a dynamic environment, we simulated rapid variations in wind speed . m/s, 7 m/s, 10 m/s and 12 m/. The results presented in Figure 7 shows that the optimized DNN model stands out for its ability to efficiently track the point of maximum power, even in the presence of suddenly varying wind speeds. In fact, it is characterized by its reduced oscillations, high efficiency, and very short response time compared to existing work in the field of MPPT tracking improvement for wind power systems . Ae. Figure 7. The maximum power extracted . ariable wind spee. Comparison of long short-term memory and deep neural network optimized A (Ezzitouni Jarmoun. A ISSN: 2088-8708 CONCLUSION This paper presents an approach to MPTT in wind power systems, a crucial challenge for optimizing energy production and making wind power installations efficient. Our comparative study shows that this solution outperforms both the conventional (P&O) method and the LSTM network-based approach, offering remarkable performance on several levels such as oscillation rate and maximum power point localization The main objective of this research was to design an intelligent controller capable not only of adapting in real time to rapid and unpredictable fluctuations in wind speed, but also of maximizing energy extraction while maintaining optimum operational stability and with optimized neural architecture. Our optimized DNN model has some remarkable features that make it particularly suitable for real-time applications: a reduced oscillation rate around the MPP, a very fast convergence speed, and a very compact neural architecture. These exceptional performances in terms of stability, speed and efficiency make our approach particularly interesting for real-time implementation. REFERENCES