MAMostafa Al-Gabalawy

Mostafa Al-Gabalawy

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Mostafa Al-Gabalawy has a total of 22 co-authors. Here are the top co-authors by number of shared publications:

  • Ahmed Ibrahim Omar

    Electrical Power and Machines Engineering Department, The Higher Institute of Engineering at El-Shorouk City, El-Shorouk Academy, Cairo, Egypt

    3 shared publications
  • Amal BaQais

    Department of Chemistry, College of Science, Princess Nourah Bint Abdulrahman University, Riyadh, Saudi Arabia

    2 shared publications
  • Mohamed M. F. Darwish

    Department of Electrical Engineering, Faculty of Engineering at Shoubra, Benha University, Cairo, Egypt

    2 shared publications
  • Nesreen S. Hosny

    Electrical Power and Control Department Pyramids Higher Institute for Engineering and Technology Giza Egypt

    2 shared publications
  • Shimaa A. Hussien

    Electrical Power and Machines Department, Faculty of Engineering, Princess Nourah Bint Abdulrahman University, Riyadh, Saudi Arabia

    2 shared publications
  • Abdel-Hamid S. Aborisha

    Mechatronics Department, Pyramids Higher Institute for Engineering and Technology, Giza, Egypt

    1 shared publication

Latest Publications

  • Open Access

    Controlling PMSG Wind Turbine Connected to Three Level Neutral Point Clamped Inverter Based on MPC

    by Mostafa Al-Gabalawy, Ibrahim A. Abdel-Sattar, Mohamed M. M. Salama, Mohamed M. F. Darwish

    Wind energy generation systems are facing increasing importance in terms of harmonic distortion control and power quality standards. In recent years, variable speed has also risen rapidly due to advancements in power electronics. The three key elements of a wind power conversion system (WECS) are electrical generators, machine-side converters, and grid-side converters. It should be noted that the permanent magnet synchronous generator is one of the most often used types of electrical generators due to its special qualities. When wind energy is converted to the proper electrical power, it may be injected into the utility grid using either synchronous generators or grid-side converters. Therefore, an investigation of several topologies and control strategies is required to determine which is the best for the machine-side converter. The use of model predictive control (MPC) for a surface mount permanent magnet synchronous machine wind turbine is the main topic of this work. The machine's electrical model is the one that was utilized. The power converters are selected considering the intricate and highly nonlinear aerodynamic system of the wind turbines. MPC is a promising control technique despite being a relatively recent application in power electronics. In addition, MATLAB and Simulink are used to build the MPC code and offer a simplified model of the turbine.

  • Open Access

    Battery management system enhancement for lithium-ions battery cells using switched shunt resistor approach based on finite state machine control algorithm

    by Shimaa A. Hussien, Amal BaQais, Mostafa Al-Gabalawy

    Due to their favorable characteristics, lithium-ion batteries have a dominant share of the battery market. There are a number of issues related to the use and management of Lithium-ion batteries in this paper, specifically with regard to the safe operation of the batteries as well as methods for balancing their cells. With the help of a passive cell balancing algorithm and a cell measurement circuit, a battery management system with a passive cell balancing algorithm has been developed. The purpose of this paper is to improve the efficiency of the balancing algorithm by implementing and analyzing a cell modelling method from the literature, with the aim of improving its performance. The results of this study showed that the use of the cell modelling system was able to improve the balancing algorithm’s balancing and charging times by 12.6%. Further, to validate the results obtained from the measurement system and the cell modelling system, an analysis was conducted of uncertainty propagation in order to validate the results. As part of future research, broader testing conditions may be used in order to better understand the positive impact of the cell modelling system on the balancing algorithm in the future.


  • Path planning of robotic arm based on deep reinforcement learning algorithm

    by Mostafa Al‐Gabalawy

    Robotic Arms are used in many fields due to their high accuracy. A robotic arm has the advantage of solving the same tasks as a human arm because of its similar structure and working repetitively and independently of any human. Setting up a robotic arm's task requires the engineer to plan a path for solving the task. Using an approach with reinforcement learning to make the robotic arm learn the path independently has not been feasible due to robotic arm tasks' sparse rewards. A recently successful method of using Reinforcement Learning is the concept of Hindsight Experience Replay. This article extends the difficulty of existing tasks to two new tasks and examines Hindsight Experience Replay's performance on these tasks. In the first experiment, the robotic arm has to move a ball towards a point that is far outside of its reach, similar to golf. In the second experiment, the task is to toss a ball into a box outside its reach, similar to basketball. Results show that vanilla Hindsight Experience Replay performs poorly on these tasks. Further research on solving the tasks with improvements to Hindsight Experience Replay, like Hindsight Goal Generation and Energy‐Based Hindsight Experience Prioritization, is required to solve them further.


  • Retracted

    Deep analysis of the influence of the different power system structures on the performance of the energy storage systems

    by Mostafa Al‐Gabalawy

    Summary: With an increasing need to install variable renewable energy sources to the grid, energy storage (ES) has become a key component for electrical grids to maintain stability. Various methods have been developed to optimize siting of ES systems to benefit a certain actor in the power grid, such as consumers, system operators, or power generators, or to optimize a particular variable, such as frequency, voltage, investment profits, or operator costs. In this paper, a new method has been developed to maximize the grid's efficiency by determining optimal ES siting and evaluating the impact of grid structure on ES performance. The method can decouple the grid structure's impact on grid performance from other factors to show which grid structure is best for ES performance. Inspired by a centrality concept known as a net ability that determines the importance of transmission lines, the net ability equation was modified to include ES within the grid. This paper introduces a weighted topological method called ES net ability that considers capacity, impedance, power transfer distribution factor (PTDF), and node type. ES net ability was also compared to another centrality concept known as betweenness. Using a linear programming method based on direct current (DC) power flow, a MATLAB program was written to determine ES optimal siting for bus test systems IEEE 30, IEEE 118, and IEEE 300. The ES net ability and betweenness of each bus were calculated and compared to determine which bus has the greatest impact on ES performance and efficiency. The buses' rankings could be used to compare buses within a network to determine which node provides the greatest benefit to ES performance and the grid. The average ES net ability of each IEEE test system was calculated to determine which grid structure is best suited for ES grid structure was further broken down into different factors, such as line impedance, line capacity, number of lines per node, number of connections per node, and node location.


  • Open Access

    Reliable and Robust Observer for Simultaneously Estimating State-of-Charge and State-of-Health of LiFePO4 Batteries

    by Mostafa Al-Gabalawy, Karar Mahmoud, Mohamed M.F. Darwish, James A. Dawson, Matti Lehtonen, Nesreen S. Hosny

    Batteries are everywhere, in all forms of transportation, electronics, and constitute a method to store clean energy. Among the diverse types available, the lithium-iron-phosphate (LiFePO4) battery stands out for its common usage in many applications. For the battery’s safe operation, the state of charge (SOC) and state of health (SOH) estimations are essential. Therefore, a reliable and robust observer is proposed in this paper which could estimate the SOC and SOH of LiFePO4 batteries simultaneously with high accuracy rates. For this purpose, a battery model was developed by establishing an equivalent-circuit model with the ambient temperature and the current as inputs, while the measured output was adopted to be the voltage where current and terminal voltage sensors are utilized. Another vital contribution is formulating a comprehensive model that combines three parts: a thermal model, an electrical model, and an aging model. To ensure high accuracy rates of the proposed observer, we adopt the use of the dual extend Kalman filter (DEKF) for the SOC and SOH estimation of LiFePO4 batteries. To test the effectiveness of the proposed observer, various simulations and test cases were performed where the construction of the battery system and the simulation were done using MATLAB. The findings confirm that the best observer was a voltage-temperature (VT) observer, which could observe SOC accurately with great robustness, while an open-loop observer was used to observe the SOH. Furthermore, the robustness of the designed observer was proved by simulating ill-conditions that involve wrong initial estimates and wrong model parameters. The results demonstrate the reliability and robustness of the proposed observer for simultaneously estimating the SOC and SOH of LiFePO4 batteries.


  • Retracted: Advanced machine learning tools based on energy management and economic performance analysis of a microgrid connected to the utility grid

    by Mostafa Al‐Gabalawy

    In this article, we present our strategy and algorithms to manage microgrid energy, more specifically, the energy transaction with the main grid of each hour in consideration of the consumer load, solar power, and dynamic electricity pricing. The main objective of the algorithm is to optimize the operation of the energy storage system (ESS) and maximize the monetary benefit of the microgrid given the fluctuating consumer load, solar power, and electricity price. Besides the monetary benefit, the algorithm also factors in the minimal energy to be reserved since it is of utmost importance to ensure the continuity of mission‐critical operations in the microgrid. We study and analyze two energy management algorithms: model predictive control linear programming with forecast future knowledge (MPCLPF) and reinforcement learning (RL) without future knowledge. In MPCLPF, different forecasting algorithms are analyzed, and the optimal forecasting algorithms are integrated into the model predictive control. With the predicted information, the ESS operation is optimized with linear programming taking into account future knowledge. In RL, the algorithm uses only the current information to optimize the energy transaction decision. Mainly, there are two key performance indicators are known as risk‐seeking (RSRL) and risk‐averse (RARL), are studied to demonstrate their impact on the transaction decision. The algorithms (MPCLPF, RSRL, and RARL) are evaluated in terms of gaining monetary benefit and maintaining system reliability. Besides, a graphical user interface is designed to visualize the functionality of the algorithms better. Finally, MPCLC gives $65.74 as a daily average monetary benefit, which is considered the reserved energy higher than the required contingency reserve. While the daily average monetary benefit is $37.01 using the second energy management algorithm, risk‐averse RL (RARL), which means that there is 0.55% of the time the reserved energy is lower than the contingency reserve. The opposite occurs when using the RSRL, the daily average monetary benefit comes to $77.14, or there is 20.55% of the time, the reserved energy is lower than the contingency reserve.