IDEAS home Printed from https://ideas.repec.org/a/eee/appene/v404y2026ics030626192501904x.html

Multi-task learning for solving OPF in an evolving environment

Author

Listed:
  • Jia, Yixiong
  • Wang, Yi
  • Zhou, Yao

Abstract

Optimal Power Flow (OPF) aims to minimize operating cost subject to AC network constraints, but its nonconvex, nonlinear nature makes the problem NP-hard, which in practice motivates solving simplified models or using conventional nonlinear solvers; both approaches typically fall short of real-time, high-quality AC-feasible solutions. By leveraging universal approximation ability with fast inference, modern machine-learning methods have become a promising direction for OPF surrogates. Despite the promising results achieved by existing methods, they typically focus on static scenarios without dataset distribution shifts. In contrast, practical power systems operate in an evolving environment where scenarios can change dynamically (e.g., generator outages), causing existing methods to fail to provide accurate OPF solutions. By proposing a multi-task learning framework, we aim to expand the application region of data-driven OPF methods. Specifically, to address the weak correlation across different scenarios, we model multiple scenarios simultaneously through shared network parameters in the proposed framework, with a hypernetwork facilitating knowledge transfer. Meanwhile, to address dataset imbalance under dynamic scenarios, we introduce an error-focused up-sampling method that resamples data exhibiting large deviations from the pre-trained model’s predictions. Furthermore, to balance the training process, we adopt an adaptive-weight algorithm that assigns trainable weights to each sample, updated alongside the hypernetwork weights in a dual ascent manner. Simulation results based on the 14-bus system and 118-bus system show that the proposed framework can provide optimality and feasibility-enhanced OPF solutions in near real time compared to existing methods with or without a post-processing step.

Suggested Citation

  • Jia, Yixiong & Wang, Yi & Zhou, Yao, 2026. "Multi-task learning for solving OPF in an evolving environment," Applied Energy, Elsevier, vol. 404(C).
  • Handle: RePEc:eee:appene:v:404:y:2026:i:c:s030626192501904x
    DOI: 10.1016/j.apenergy.2025.127174
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S030626192501904X
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.apenergy.2025.127174?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:appene:v:404:y:2026:i:c:s030626192501904x. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/wps/find/journaldescription.cws_home/405891/description#description .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.