Besnik Qehaja

Dr. Besnik Qehaja

orcid

Research Focus & Metrics

Academic Career Length

2Years (2025-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
22 January 2026 in Smart Cities
Verified
Journal Article
Open access
PDF file
Galia MarinovaGalia Marinova
Galia Marinova
EHEdmon Hajrizi
Edmon Hajrizi
BQBesnik Qehaja
Besnik Qehaja
VGVassil Georgiev Guliashki
Vassil Georgiev Guliashki
This study proposes a smart energy management framework for a university campus microgrid aimed at reducing dependence on the main power grid and increasing the utilization of photovoltaic (PV) generation under dynamic load and environmental conditions. The core contribution is a two-stage approach that combines a genetic algorithm (GA) for static day-ahead optimization with a soft actor-critic (SAC) reinforcement learning (RL) agent performing adaptive supervisory management of microgrid active and reactive power flows via battery control. The GA provides an optimal reference schedule under forecasted conditions, while the SAC agent is trained on eight representative scenarios derived from measured PV generation and campus load data to adapt battery operation and grid exchange under uncertainty. The results show that the benefit of RL does not lie in reproducing the static GA solution, but in learning economically rationally adaptive behavior. In particular, the SAC agent exploits low-tariff periods and hedges against adverse PV conditions by proactively adjusting battery charging strategies in real time. This adaptive behavior addresses a key limitation of static optimization, which cannot respond to deviations from forecasted operation, and represents the main added value of the proposed framework. From a practical perspective, the GA-SAC architecture operates at a supervisory level with low computational requirements, making it suitable for scalable deployment in smart campus and smart city energy management systems.

4 July 2025 in Applied Sciences
Verified
Journal Article
Open access
PDF file
BQBesnik Qehaja
Besnik Qehaja
EHEdmond Hajrizi
Edmond Hajrizi
BHBehar Reshat Haxhismajli
Behar Reshat Haxhismajli
Lavdim MenxhiqiLavdim Menxhiqi
Lavdim Menxhiqi
Galia MarinovaGalia Marinova
Galia Marinova
EMElissa Mollakuqe
Elissa Mollakuqe
This paper presents a mathematical and statistical analysis of the security–performance trade-off in the context of the IoT Cloud architecture implemented at UBT Smart City. Through detailed modeling and real-world measurement data collected before and after the deployment of advanced security measures—such as VPN configuration, Network Security Groups (NSGs), Route Tables, and DDoS Protection—we quantify the impact of security on system performance. We propose a mathematical framework to evaluate the propagation delay of telemetry data through the system and employ queueing theory (M/M/1 model) to simulate the behavior of critical data processing services. Additionally, we perform hypothesis testing and statistical comparison to validate the significance of the observed performance changes. The results show an average delay increase of approximately 19% following the implementation of security mechanisms, highlighting the inevitable trade-off between enhanced security and operational speed. Finally, we introduce a multi-objective cost-delay function that can guide the selection of optimal security configurations by balancing latency and cost, providing a valuable tool for the future optimization of secure IoT infrastructures

10 September 2025 in Eng
Verified
Journal Article
Open access
PDF file
EHEdmon Hajrizi
Edmon Hajrizi
BQBesnik Qehaja
Besnik Qehaja
Galia MarinovaGalia Marinova
Galia Marinova
Klodian DhoskaKlodian Dhoska
Klodian Dhoska
LBLirianë Berisha
Lirianë Berisha
Wireless sensor networks (WSNs) are a key enabling technology for modern e-Health applications. However, their deployment in clinical environments faces critical challenges due to dynamic network topologies, signal interference, and stringent energy constraints. Static resource allocation schemes often prove inadequate in these mission-critical settings, leading to communication failures that can compromise data integrity and patient safety. This paper proposes a novel hybrid framework for intelligent, dynamic resource allocation that addresses these challenges. The framework combines classical graph-coloring heuristics—Greedy and Recursive Largest First (RLF) for efficient initial channel assignment with the adaptive power of metaheuristics, specifically Simulated Annealing and Genetic Algorithms, for localized refinement. Unlike conventional approaches that require costly, network-wide reconfigurations, our method performs targeted adaptations only in interference-affected regions, thereby optimizing the trade-off between network reliability and energy efficiency. Comprehensive simulations modeled on dynamic, hospital-scale WSNs demonstrate the effectiveness of various hybrid strategies. Notably, our results demonstrate that a hybrid strategy using a Genetic Algorithm can most effectively minimize interference and ensure high data reliability, validating the framework as a scalable and resilient solution. These results validate the proposed framework as a scalable, energy-aware solution for resilient, real-time healthcare telecommunication infrastructures.

2 December 2025 in Preprints.org
Verified
Preprint
Open access
PDF file
Galia MarinovaGalia Marinova
Galia Marinova
EHEdmon Hajrizi
Edmon Hajrizi
BQBesnik Qehaja
Besnik Qehaja
VGVassil Guliashki
Vassil Guliashki
This study presents the development of a smart microgrid control framework. The goal is to achieve optimal energy management and maximize photovoltaic (PV) generation utilization through a combination of optimization and reinforcement learning techniques. A detailed Simulink model is developed in MATLAB to represent the dynamic behavior of the microgrid, including load variability, temperature profiles, and solar radiation. Initially, a genetic algorithm (GA) is used to perform static optimization and parameter tuning – identifying optimal battery charging/discharging schedules and balancing power flow between buildings in the microgrid to minimize main grid dependency. After that a Soft Actor-Critic (SAC) reinforcement learning agent is trained to perform real-time maximum power point tracking (MPPT) for the PV system under different environmental (weather) and load conditions. The SAC agent learns from multiple (eight) simulated PV generation scenarios and demand profiles, optimizing the duty cycle of the DC-DC converter to adaptively maintain maximum energy yield. The combined GA-SAC approach is validated on a university campus microgrid consisting of four interconnected buildings with heterogeneous loads, including computer labs that generate both active and reactive power demands. The results show improved efficiency, reduced power losses, and improved energy autonomy of the microgrid, illustrating the potential of AI-driven control strategies for sustainable smart energy systems.

31 March 2026 in International Journal of Interactive Mobile Technologies (iJIM)
Verified
Journal Article
Open access
PDF file
LSLamir Shkurti
Lamir Shkurti
ASArsim Susuri
Arsim Susuri
VSVehebi Sofiu
Vehebi Sofiu
BQBesnik Qehaja
Besnik Qehaja
Federated learning (FL) enhances data privacy but faces significant deployment challenges on resource-constrained edge devices. Building on our previous development of the AdaptiveMesh algorithm, this study presents an end-to-end implementation of a resourceaware FL framework for pneumonia detection from chest X-ray images. The system is optimized for heterogeneous hardware and unstable network conditions. Validated on two independent datasets, the proposed global model achieved high diagnostic reliability, reaching up to 95% accuracy and critical recall performance for clinical use. A key contribution of this work is the practical transition from decentralized training to real-time prediction; we integrated the trained model into a lightweight Flask-based web application deployed on devices such as Raspberry Pi 4 and Intel Atom MiniPCs. Our results confirm that the AdaptiveMesh-based system provides a stable, privacy-preserving, and feasible solution for medical diagnostics in low-resource environments, bridging the gap between algorithmic optimization and real-world application.

11 July 2025 in Preprints.org
Verified
Preprint
Open access
PDF file
BQBesnik Qehaja
Besnik Qehaja
EHEdmon Hajrizi
Edmon Hajrizi
Galia MarinovaGalia Marinova
Galia Marinova
Klodian DhoskaKlodian Dhoska
Klodian Dhoska
LBLirianë Berisha
Lirianë Berisha
Wireless Sensor Networks (WSNs) are a key enabling technology for modern e-Health applications. However, their deployment in clinical environments faces critical challenges due to dynamic network topologies, signal interference, and stringent energy constraints. Static resource allocation schemes often prove inadequate in these mission-critical settings, leading to communication failures that can compromise data integrity and patient safety. This paper proposes a novel hybrid framework for intelligent, dynamic resource allocation that addresses these challenges. The framework combines classical graph-coloring heuristics—Greedy and Recursive Largest First (RLF) for efficient initial channel assignment with the adaptive power of metaheuristics, specifically Simulated Annealing and Genetic Algorithms, for localized refinement. Unlike conventional approaches that require costly, network-wide reconfigurations, our method performs targeted adaptations only in interference-affected regions, thereby optimizing the trade-off between network reliability and energy efficiency. Comprehensive simulations modeled on dynamic, hospital-scale WSNs demonstrate the effectiveness of various hybrid strategies. Notably, the combination of RLF with a Genetic Algorithm achieves near-perfect interference mitigation and high data reliability while maintaining minimal adaptation latency. These results validate the proposed framework as a scalable, energy-aware solution for resilient, real-time healthcare telecommunication infrastructures.