Skip to content

munsif200/Transformer-Network-for-Short-term-Photovoltaic-Power-Generation-Forecasting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The number of PV systems will increase rapidly in the future due to the policies of the government and international organizations, and the advantages of PV technology. However, the variability of PV power generation creates different negative impacts on the electric grid system, such as the stability, reliability, and planning of the operation, aside from the economic benefits. Therefore, accurate forecasting of PV power generation is significantly important to stabilize and secure grid operation and promote large-scale PV power integration. Current attempts in PV forecasting are usually prone due to environmental conditions that directly decrease the performance of the energy distribution system. To handle these issues, we propose an efficient convolutional-based transformer framework for accurate PV power forecasting comprised of three main modules: Initially, the acquired PV generation data is forwarded to the preprocessing for data refinement. Next, for the data encoding and decoding CNN-multi-head attention and MHA are developed, where the encoder module is mainly composed of 1D convolutional and MHA layers that extract local and contextual features, while the decoder part is composed of MHA and feed-forward layers to generate the final output prediction. Finally, to verify the strength and stability of the model standard error metrics are considered such as mean squared error, root mean squared error, and mean absolute percentage error. An ablation study and comparative analysis with competitive state-of-the-art revealed the effectiveness of our proposed strategy over publicly available benchmark data. In addition, the proposed model is investigated in terms of its complexity and size for the possible deployment in the smart grid.

Getting Started

Prerequisites

Ensure you have the following dependencies installed:

pip install tensorflow-gpu==2.4.0 and tensorflow-estimator==2.4.0 

Installation

Clone the repository and install the required dependencies:

git clone https://github.com/your-username/Transformer-Network-for-Short-term-Photovoltaic-Power-Generation-Forecasting.git](https://github.com/munsif200/Transformer-Network-for-Short-term-Photovoltaic-Power-Generation-Forecasting-.git
cd Transformer-Network-for-Short-term-Photovoltaic-Power-Generation-Forecasting
pip install -r requirements.txt

Usage

  1. Acquire PV generation data from 2 eco-Kinetics, 26.5kW, mono-Si, Dual, 2010
  2. Run data preprocessing.
  3. Train and evaluate the CTNet-PV model.
  4. Analyze results using standard error metrics.

Citations

If you find this work helpful, please consider citing it:

Muhammad Munsif et al., "CT-NET: A Novel Convolutional Transformer-Based Network for Short-Term Solar Energy Forecasting Using Climatic Information", Computer Systems Science & Engineering, 2023.

BibTeX:

@article{munsif2023ct,
  title={CT-NET: A Novel Convolutional Transformer-Based Network for Short-Term Solar Energy Forecasting Using Climatic Information.},
  author={Munsif, Muhammad and Ullah, Min and Fath, U and Khan, Samee Ullah and Khan, Noman and Baik, Sung Wook},
  journal={Computer Systems Science \& Engineering},
  volume={47},
  number={2},
  year={2023}
}

Contact Info

If you have any question related to the repo please contact me at email: munsif3797@gmail.com

About

Utilizes a Convolutional-based Transformer architecture for accurate and efficient PV power forecasting.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages