Skip to content

Codes for "A Two-Stage Approach for Topology Change-Aware Data-Driven OPF"

License

Notifications You must be signed in to change notification settings

hkuedl/Topology-Change-Data-Driven-OPF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Topology-Change-Data-Driven-OPF

Codes for "A Two-Stage Approach for Topology Change-Aware Data-Driven OPF"

This work proposed a two-stage approach for topology change-aware data-driven OPF. It consists of: 1) generating data-driven models using a topology transfer framework; and 2) ensembling well-trained models. In Stage 1, GPR is employed to capture the nonlinear correlation between the new and predicted OPF data. The new data is obtained by solving the OPF problem using traditional optimization solvers under the new topology; the predicted data is obtained by inputting the same power demand into the data-driven OPF model trained on one of the historical datasets. This framework allows us to obtain sample-efficient topology transfer models. In Stage 2, a dynamic ensemble learning strategy is developed, where the weights and the topology transfer models that need to be ensembled are dynamically determined. This strategy allows us to avoid obtaining biased OPF solutions from sub-models.

Authors: Yixiong Jia, Xian Wu, Zhifang Yang, and Yi Wang.

Requirements

Python version: 3.8.10

The must-have packages can be installed by running

pip install requirements.txt

Data

All the data this paper used can be found in 14 Bus System/Data and 97 Bus System/Data.

You can also find the code for processing the data in 14 Bus System/Data Generate and 97 Bus System/Data Generate.

Reproduction

If you want to run the proposed approach and get the results comparison, you can run Test Compare.

Currently, I'm tidying up the code to make it more readable! This repository will be updated recently.

Citation

@article{jia2024two,
  title={A Two-Stage Approach for Topology Change-Aware Data-Driven OPF},
  author={Jia, Yixiong and Wu, Xian and Yang, Zhifang and Wang, Yi},
  journal={IEEE Transactions on Power Systems},
  year={2024},
  publisher={IEEE}
}

About

Codes for "A Two-Stage Approach for Topology Change-Aware Data-Driven OPF"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages