A dual GAN with identity blocks and pancreas-inspired loss for renewable energy optimization

Abstract Integrating energy and solar imagery is essential for electrical engineers in renewable energy prediction, consumption analysis, regression modeling, and fault detection applications. A significant challenge in these areas is the limited availability of high-quality datasets, which can hind...

Full description

Saved in:
Bibliographic Details
Main Authors: Mostafa Elbaz, Wael Said, Gamal M. Mahmoud, Hanaa Salem Marie
Format: Article
Language:English
Published: Nature Portfolio 2025-05-01
Series:Scientific Reports
Subjects:
Online Access:https://doi.org/10.1038/s41598-025-00600-7
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850273379945283584
author Mostafa Elbaz
Wael Said
Gamal M. Mahmoud
Hanaa Salem Marie
author_facet Mostafa Elbaz
Wael Said
Gamal M. Mahmoud
Hanaa Salem Marie
author_sort Mostafa Elbaz
collection DOAJ
description Abstract Integrating energy and solar imagery is essential for electrical engineers in renewable energy prediction, consumption analysis, regression modeling, and fault detection applications. A significant challenge in these areas is the limited availability of high-quality datasets, which can hinder the accuracy of the predictive models. To address this issue, this paper proposes leveraging Generative Adversarial Networks (GANs) to generate synthetic samples for training. Despite their potential, traditional GAN face challenges such as mode collapse, vanishing gradients, and pixel integrity issues. This paper introduces a novel architecture, Penca-GAN, which enhances GANs through three key modifications: (1) dual loss functions to ensure pixel integrity and promote diversity in augmented images, effectively mitigating mode collapse and improving the quality of synthetic data; (2) the integration of an identity block to stabilize training, preserving essential input features and facilitating smoother gradient flow; and (3) a pancreas-inspired metaheuristic loss function that dynamically adapts to variations in training data to maintain pixel coherence and diversity. Extensive experiments on three renewable energy datasets—SKY images, Solar images, and Wind Turbine images—demonstrate the effectiveness of the Penca-GAN architecture. Our comparative analysis revealed that Penca-GAN consistently achieved the lowest Fréchet Inception Distance (FID) scores (164.45 for SKY, 113.54 for Solar, and 109.34 for Wind Turbine), indicating superior image quality compared to other architectures. Additionally, it attains the highest Inception Score (IS) across all datasets, scoring 71.43 for SKY, 87.65 for Solar, and 90.32 for Wind Turbine. Furthermore, the application of Penca-GAN significantly enhanced the fault detection capabilities, achieving accuracy improvements from 85.92 to 90.04% for solar panels and from 86.06 to 90.43% for wind turbines. These results underscore Penca-GAN’s robust performance in generating high-fidelity synthetic images, significantly advancing renewable energy applications, and improving model performance in critical tasks such as fault detection and energy prediction.
format Article
id doaj-art-564b09edf33b4c63b27fe7dd01c1d7f0
institution OA Journals
issn 2045-2322
language English
publishDate 2025-05-01
publisher Nature Portfolio
record_format Article
series Scientific Reports
spelling doaj-art-564b09edf33b4c63b27fe7dd01c1d7f02025-08-20T01:51:31ZengNature PortfolioScientific Reports2045-23222025-05-0115113210.1038/s41598-025-00600-7A dual GAN with identity blocks and pancreas-inspired loss for renewable energy optimizationMostafa Elbaz0Wael Said1Gamal M. Mahmoud2Hanaa Salem Marie3Department of Computer Science, Faculty of Computers and Informatics, Kafrelsheikh UniversityComputer Science Department, Faculty of Computers and Informatics, Zagazig UniversityDepartment of Electrical Engineering, Pharos University in AlexandriaFaculty of Artificial Intelligence, Delta University for Science and TechnologyAbstract Integrating energy and solar imagery is essential for electrical engineers in renewable energy prediction, consumption analysis, regression modeling, and fault detection applications. A significant challenge in these areas is the limited availability of high-quality datasets, which can hinder the accuracy of the predictive models. To address this issue, this paper proposes leveraging Generative Adversarial Networks (GANs) to generate synthetic samples for training. Despite their potential, traditional GAN face challenges such as mode collapse, vanishing gradients, and pixel integrity issues. This paper introduces a novel architecture, Penca-GAN, which enhances GANs through three key modifications: (1) dual loss functions to ensure pixel integrity and promote diversity in augmented images, effectively mitigating mode collapse and improving the quality of synthetic data; (2) the integration of an identity block to stabilize training, preserving essential input features and facilitating smoother gradient flow; and (3) a pancreas-inspired metaheuristic loss function that dynamically adapts to variations in training data to maintain pixel coherence and diversity. Extensive experiments on three renewable energy datasets—SKY images, Solar images, and Wind Turbine images—demonstrate the effectiveness of the Penca-GAN architecture. Our comparative analysis revealed that Penca-GAN consistently achieved the lowest Fréchet Inception Distance (FID) scores (164.45 for SKY, 113.54 for Solar, and 109.34 for Wind Turbine), indicating superior image quality compared to other architectures. Additionally, it attains the highest Inception Score (IS) across all datasets, scoring 71.43 for SKY, 87.65 for Solar, and 90.32 for Wind Turbine. Furthermore, the application of Penca-GAN significantly enhanced the fault detection capabilities, achieving accuracy improvements from 85.92 to 90.04% for solar panels and from 86.06 to 90.43% for wind turbines. These results underscore Penca-GAN’s robust performance in generating high-fidelity synthetic images, significantly advancing renewable energy applications, and improving model performance in critical tasks such as fault detection and energy prediction.https://doi.org/10.1038/s41598-025-00600-7Renewable energyMetaheuristic lossGenerative adversarial networks (GANs)Identity blockImage augmentation
spellingShingle Mostafa Elbaz
Wael Said
Gamal M. Mahmoud
Hanaa Salem Marie
A dual GAN with identity blocks and pancreas-inspired loss for renewable energy optimization
Scientific Reports
Renewable energy
Metaheuristic loss
Generative adversarial networks (GANs)
Identity block
Image augmentation
title A dual GAN with identity blocks and pancreas-inspired loss for renewable energy optimization
title_full A dual GAN with identity blocks and pancreas-inspired loss for renewable energy optimization
title_fullStr A dual GAN with identity blocks and pancreas-inspired loss for renewable energy optimization
title_full_unstemmed A dual GAN with identity blocks and pancreas-inspired loss for renewable energy optimization
title_short A dual GAN with identity blocks and pancreas-inspired loss for renewable energy optimization
title_sort dual gan with identity blocks and pancreas inspired loss for renewable energy optimization
topic Renewable energy
Metaheuristic loss
Generative adversarial networks (GANs)
Identity block
Image augmentation
url https://doi.org/10.1038/s41598-025-00600-7
work_keys_str_mv AT mostafaelbaz adualganwithidentityblocksandpancreasinspiredlossforrenewableenergyoptimization
AT waelsaid adualganwithidentityblocksandpancreasinspiredlossforrenewableenergyoptimization
AT gamalmmahmoud adualganwithidentityblocksandpancreasinspiredlossforrenewableenergyoptimization
AT hanaasalemmarie adualganwithidentityblocksandpancreasinspiredlossforrenewableenergyoptimization
AT mostafaelbaz dualganwithidentityblocksandpancreasinspiredlossforrenewableenergyoptimization
AT waelsaid dualganwithidentityblocksandpancreasinspiredlossforrenewableenergyoptimization
AT gamalmmahmoud dualganwithidentityblocksandpancreasinspiredlossforrenewableenergyoptimization
AT hanaasalemmarie dualganwithidentityblocksandpancreasinspiredlossforrenewableenergyoptimization