Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Almetwally Mohamad Mostafa has a total of 75 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Enhancing LoRaWAN Performance Using Boosting Machine Learning Algorithms Under Environmental Variations

    by Maram A. Alkhayyal, Almetwally M. Mostafa

    Accurate path loss prediction is essential for optimizing Long-Range Wide-Area Network (LoRaWAN) performance. Previous studies have employed various Machine Learning (ML) models for path loss prediction. However, environmental factors such as temperature, humidity, barometric pressure, and particulate matter have been largely neglected. This study bridges this gap by evaluating the performance of five boosting ML models—AdaBoost, XGBoost, LightGBM, GentleBoost, and LogitBoost—under dynamic environmental conditions. The models were compared with theoretical models (Log-Distance and Okumura-Hata) and existing studies that employed the same dataset based on metrics such as RMSE, MAE, and R2. Furthermore, a detailed performance vs. complexity analysis was conducted using metrics such as training time, inference latency, model size, and energy consumption. Notably, barometric pressure emerged as the most influential environmental factor affecting path loss across all models. Bayesian Optimization was applied to fine-tune hyperparameters to improve model accuracy. Results showed that LightGBM outperformed other models with the lowest RMSE of 0.5166 and the highest R2 of 0.7151. LightGBM also offered the best trade-off between accuracy and computational efficiency. The findings show that boosting algorithms, particularly LightGBM, are highly effective for path loss prediction in LoRaWANs.


  • Supervisory Control of Discrete Event Systems Modeled With Labeled Petri Nets for Diagnosability Enforcement

    by Chengzong Li, Yufeng Chen, Almetwally M. Mostafa, Mohamed Khalgui

    This paper proposes an active fault diagnosis method to enforce the diagnosability of discrete event systems using labeled Petri nets by constructing a diagnostic supervisor. For a non-diagnosable net model, its diagnosability is viewed as a control specification and addressed by using supervisory control techniques. First, an event-based monitor and a Petri net structure, referred to as data isolation arcs, are introduced to apply control specifications for labeled Petri nets. Then, a diagnostic supervisor reachability graph is generated to estimate the current state of the diagnoser. By analyzing the diagnostic supervisor reachability graph, an integer linear programming model is formulated to design a diagnostic supervisor, which can prevent the system from entering into any indeterminate cycle only by observing the occurrence of events. Finally, by the obtained diagnostic supervisor, the resulting net model is shown to be diagnosable. Some examples are presented to demonstrate the proposed method.


  • Open Access

    On Deadlock/Livelock Studies Based on Reachability Graph of Petri Nets by Using TINA

    by Murat Uzam, Ding Liu, Bernard Berthomieu, Gökhan Gelen, Zhaolong Zhang, Almetwally M. Mostafa, Zhiwu Li

    Deadlock/livelock problems can cause catastrophic results in flexible manufacturing systems (FMS) by forcing them to stop production processes at an unpredictable stage of production. Therefore, they must be handled properly in order to obtain flawless production in FMS. Petri net (PN) based deadlock/livelock studies for FMS have been widely carried out to obtain live PN models. When a PN model is live, this ensures that the modelled FMS is deadlock-free. Firstly, an uncontrolled (plant) PN model is constructed for the FMS suffering from deadlocks/livelocks. Then reachability graph (RG) analysis of this PN model is carried out to provide all possible reachable states of the modelled system. An RG of a PN model of an FMS suffering from deadlock/livelock problems can be split into the live zone (LZ) and the deadlock zone (DZ). The former is the set of system states considered to be legal (good), while the latter is the set of system states regarded to be illegal (bad). The LZ represents the optimal (maximally permissive) system behavior that must be provided by an optimal control policy. Generally, in PN based liveness studies, a liveness enforcing supervisor (LES) consisting of a set of control places (CP) is computed. Then the controlled (closed-loop) PN model is obtained by merging the plant PN model and the LES. If the number of reachable live states of the controlled PN model is the same as the ones that exist in the LZ, then the controlled model is optimal. Otherwise, it is suboptimal. The greater the number of live reachable states of the RG, the more products to be produced within the FMS. Therefore, the number of reachable live states of the controlled PN model is considered as a quality measure. It defines the behavioral permissiveness of the controlled model. In the literature, to verify the behavioral permissiveness of the PN models, the PN tool called INA (Integrated Net Analyzer) has been widely used. Recently, by means of INA, a method was proposed to compute the number of states within the LZ and the DZ of a given PN model suffering from deadlocks/livelocks [36]. Unfortunately, INA cannot compute RGs of large PNs having a few millions of states. Therefore, in this paper by means of TINA (TIme petri Net Analyzer), an alternative faster and much more efficient method is proposed for the computation of the number of states within the LZ and the DZ for PN models with large RGs. In addition, in order to enable the development of new PN based deadlock prevention methods, further computations are also proposed. These include the computation of the set of states in the DZ, LZ and first met bad markings (FBMs) for a given PN model suffering from deadlocks/livelocks. The applicability and the effectiveness of the proposed methods are demonstrated by considering several well-known examples of FMS from the relevant literature.


  • Opacity enforcement in discrete event systems using differential privacy

    by Jie Zhang, Yifan Dong, Li Yin, Almetwally M. Mostafa, Zhiwu Li


  • Open Access

    Recent Developments in AI and ML for IoT: A Systematic Literature Review on LoRaWAN Energy Efficiency and Performance Optimization

    by Maram Alkhayyal, Almetwally Mostafa

    The field of the Internet of Things (IoT) is dominating various areas of technology. As the number of devices has increased, there is a need for efficient communication with low resource consumption and energy efficiency. Low Power Wide Area Networks (LPWANs) have emerged as a transformative technology for the IoT as they provide long-range communication capabilities with low power consumption. Among the various LPWAN technologies, Long Range Wide Area Networks (LoRaWAN) are widely adopted due to their open standard architecture, which supports secure, bi-directional communication and is particularly effective in outdoor and complex urban environments. This technology is helpful in enabling a variety of IoT applications that require wide coverage and long battery life, such as smart cities, industrial IoT, and environmental monitoring. The integration of Machine Leaning (ML) and Artificial Intelligence (AI) into LoRaWAN operations has further enhanced its capability and particularly optimized resource allocation and energy efficiency. This systematic literature review provides a comprehensive examination of the integration of ML and AI technologies in the optimization of LPWANs, with a specific focus on LoRaWAN. This review follows the PRISMA model and systematically synthesizes current research to highlight how ML and AI enhance operational efficiency, particularly in terms of energy consumption, resource management, and network stability. The SLR aims to review the key methods and techniques that are used in state-of-the-art LoRaWAN to enhance the overall network performance. We identified 25 relevant primary studies. The study provides an analysis of key findings based on research questions on how various LoRaWAN parameters are optimized through advanced ML, DL, and RL techniques to achieve optimized performance.


  • Highly dispersive eighth-order embedded solitons with cubic–quartic χ(2) and χ(3) nonlinear susceptibilities under the influence of multiplicative white noise using Itô calculus

    by Mohamed E. M. Alngar, Almetwally M. Mostafa, Salman A. AlQahtani, Reham M. A. Shohib, Pranavkumar Pathak

    This research explores the intriguing realm of eighth-order embedded solitons in highly dispersive media with cubic–quartic nonlinear susceptibilities [ ] and [ ], all within the dynamic context of multiplicative white noise and the framework of Itô calculus. Two different approaches are used in this study. The new auxiliary equation approach produces the bright soliton and singular soliton solutions, while the addendum Kudryashov’s approach produces the bright soliton, singular soliton and combo bright–singular soliton solutions. The system under investigation and the results documented within this work stand as pioneering and original contributions to the field of nonlinear optics. Furthermore, a collection of 2D, 3D and contour plots is produced to visually represent the spatial distribution and progression of different solutions. This not only contributes to the advancement of nonlinear equations in theory but also offers valuable insights for practical applications.


  • Open Access

    Online Verification and Enforcement of Sequential K-Opacity in Extended Probabilistic Automata

    by Tareq Ahmad Al-Sarayrah, Zhiwu Li, Li Yin, Almetwally M. Mostafa

    In the context of extended probabilistic automata, this study focuses on an information flow property, called opacity, of discrete event systems. The achievement of this research is the formulation and in-depth analysis of what is termed sequential k-opacity. This metric, through its detailed assessment, marks an explicit and visible advancement beyond the existing paradigms for measuring system opacity. It introduces an improved method for analyzing the probability of event sequences leading to confidential states within a system. An approach of such a comprehensive nature is essential for a detailed analysis of opacity in systems typified by deterministic and stochastic elements. Furthermore, this work incorporates a numerical case study that provides a baseline for further investigations in practical applications, thereby validating the proposed framework’s usefulness. The research progresses to explore novel approaches to the reinforcement and persistence of system opacity within extended probabilistic automata. Among these approaches, the strategic use of fake events is critical as it is a fundamental tool for enhancing system security and secrecy, which plays an important role in protecting sensitive and secret data by effectively hiding the real status of the system from outside inspection.


  • Exploring the optical soliton solutions of Heisenberg ferromagnet-type of Akbota equation arising in surface geometry by explicit approach

    by Waqas Ali Faridi, Muhammad Abu Bakar, Muhammad Bilal Riaz, Zhaidary Myrzakulova, Ratbay Myrzakulov, Almetwally M. Mostafa