# 最优潮流

**最优潮流（OPF）**是寻找电力网络最低成本运行点的问题：选择发电机调度和其他控制，使需求得到满足，同时满足潮流的物理规律和网络的运行极限。<sup>[1](https://arxiv.org/abs/2206.07843)</sup> 它最早由J. 卡庞蒂耶（J. Carpentier）于1962年提出；他基于库恩-塔克（Kuhn-Tucker）条件发表了包含变量界的最优性条件，这通常被视为首个完整表述的OPF。<sup>[2](https://www.ferc.gov/sites/default/files/2020-05/acopf-1-history-formulation-testing.pdf)</sup> 如今，该问题处于电力市场和公用事业调度的核心，并且仍是工程中常规求解的最困难优化问题之一。

| 关键事实 | 详情 |
|---|---|
| 首次表述 | 1962年，由卡庞蒂耶使用含变量界的库恩-塔克最优性条件<sup>[2](https://www.ferc.gov/sites/default/files/2020-05/acopf-1-history-formulation-testing.pdf)</sup> |
| 核心困难 | 交流潮流方程是非线性且非凸的；非线性求解器无法保证全局最优<sup>[2](https://www.ferc.gov/sites/default/files/2020-05/acopf-1-history-formulation-testing.pdf)</sup><sup> • </sup><sup>[3](https://portal.findresearcher.sdu.dk/en/publications/a-review-of-the-convexification-methods-for-ac-optimal-power-flow/)</sup> |
| 主要变体 | ACOPF（交流最优潮流，完整模型，有功与无功协同优化）和DCOPF（直流最优潮流，线性化，电压幅值固定）<sup>[2](https://www.ferc.gov/sites/default/files/2020-05/acopf-1-history-formulation-testing.pdf)</sup> |
| 运行节奏 | 规划中每年求解，日前市场中每日求解，实时平衡中可每5分钟求解一次<sup>[4](https://ferc.gov/industries-data/electric/power-sales-and-markets/increasing-efficiency-through-improved-software-0)</sup><sup> • </sup><sup>[2](https://www.ferc.gov/sites/default/files/2020-05/acopf-1-history-formulation-testing.pdf)</sup> |
| 安全扩展 | SCOPF（安全约束最优潮流）增加预想事故约束；OPF是SCOPF的特例<sup>[5](https://www.sciencedirect.com/science/article/pii/S0378779616300141)</sup> |
| 凸化工具箱 | 凸松弛（SDP、SOCP、QC）、强化松弛、凸包描述和凸限制<sup>[3](https://portal.findresearcher.sdu.dk/en/publications/a-review-of-the-convexification-methods-for-ac-optimal-power-flow/)</sup> |
| 基准测试 | PGLib-OPF，一个在知识共享许可下开放访问的IEEE电力与能源协会（IEEE PES）工作组网络案例库<sup>[6](https://arxiv.org/abs/1908.02788)</sup> |

## 问题陈述

OPF在受网络潮流约束和系统运行极限约束的情况下优化电力系统的运行。<sup>[7](https://epubs.siam.org/doi/10.1137/1.9781611974683.ch15)</sup> 在标准数学形式中，目标函数在等式约束、不等式约束和变量界下被最小化。<sup>[8](https://www.matpower.org/docs/manual.pdf)</sup> 目标通常是有功和无功发电的总成本，表示为发电机出力的多项式或分段线性成本函数。<sup>[8](https://www.matpower.org/docs/manual.pdf)</sup> 等式约束是每个母线处的功率平衡方程，不等式约束包括支路潮流极限、母线电压极限以及发电机有功和无功功率极限。<sup>[8](https://www.matpower.org/docs/manual.pdf)</sup>

构成等式约束的交流潮流方程在电压幅值和相角上呈非线性。这种非线性使可行域非凸，因此非线性求解器可能收敛到局部最优而非全局最优，可能无法收敛，并且无法证明最优性。<sup>[2](https://www.ferc.gov/sites/default/files/2020-05/acopf-1-history-formulation-testing.pdf)</sup> 实际电网增加了更多约束，现代系统还纳入了来自智能电网技术、可再生能源和储能的新约束，这提高了运行和规划中的不确定性水平。<sup>[9](https://ieeexplore.ieee.org/document/10945774/)</sup>

## 变体

**交流与直流。** 使用精确交流潮流方程的表述称为交流最优潮流（ACOPF）；它们协同优化有功和无功功率，将网损内部化而不是估计网损，并带有显式电压界，代价是求解时间更长、数据要求更高。<sup>[2](https://www.ferc.gov/sites/default/files/2020-05/acopf-1-history-formulation-testing.pdf)</sup><sup> • </sup><sup>[4](https://ferc.gov/industries-data/electric/power-sales-and-markets/increasing-efficiency-through-improved-software-0)</sup> DCOPF是全交流网络的线性化形式，而不是直流网络的潮流解；它假设所有电压幅值固定，电压相角接近零。<sup>[2](https://www.ferc.gov/sites/default/files/2020-05/acopf-1-history-formulation-testing.pdf)</sup> 一条中间路线是解耦OPF，它将ACOPF拆分为两个子问题，一个将有功功率与电压相角耦合，另一个将电压幅值与无功功率耦合，并在两者之间迭代。<sup>[2](https://www.ferc.gov/sites/default/files/2020-05/acopf-1-history-formulation-testing.pdf)</sup>

**安全约束。** 传统术语区分OPF和SCOPF：OPF优化单个系统状态（基准工况），而安全约束最优潮流（SCOPF）在附加的预想事故约束下优化该状态；因此OPF是SCOPF的特例。<sup>[5](https://www.sciencedirect.com/science/article/pii/S0378779616300141)</sup> 添加预想事故会使表述的规模按所研究预想事故的数量成倍增加。<sup>[2](https://www.ferc.gov/sites/default/files/2020-05/acopf-1-history-formulation-testing.pdf)</sup> 安全约束交流最优潮流将预想事故分析与精确交流网络模型相结合，被描述为具有至关重要的实际意义。<sup>[1](https://arxiv.org/abs/2206.07843)</sup>

**配电系统。** 同样的问题结构出现在配电规模上，其中智能逆变器、电动汽车负荷和储能等可控资产使基于优化的配电系统控制成为可行，而配电OPF方法依赖松弛、近似和分布式优化来管理规模。<sup>[10](https://resourcecenter.ieee-pes.org/education/tutorials/pes_ed_tut_072026_tut10_sld)</sup> 在分布式能源系统和微电网模型中，OPF约束常以过度简化的线性近似表示，这可能产生次优甚至不可行的设计和调度计划。<sup>[11](https://doi.org/10.1016/j.seta.2022.102066)</sup>

## 求解方法

早期研究使用忽略变量界的经典拉格朗日技术；卡庞蒂耶1962年的表述包括完整的交流潮流方程、发电机有功和无功功率约束、母线电压幅值约束以及电压相角差约束。<sup>[2](https://www.ferc.gov/sites/default/files/2020-05/acopf-1-history-formulation-testing.pdf)</sup> 于诺（Huneault）和加利安娜（Galliana）1991年的综述涵盖了300多篇文章，并将求解方法分为梯度法、线性规划、二次规划和罚函数法，结论是OPF仍然困难：算法无法足够快地计算，且容易出现病态和收敛问题。<sup>[2](https://www.ferc.gov/sites/default/files/2020-05/acopf-1-history-formulation-testing.pdf)</sup>

**凸松弛。** 由于ACOPF是非线性、非凸且极难求解的，一条主要研究路线用凸近似替代它。综述的凸化方法从传统DCOPF到凸松弛，包括半定规划（SDP）、二阶锥规划（SOCP）和二次凸（QC）松弛，以及强化松弛、凸包描述和凸限制方法。<sup>[3](https://portal.findresearcher.sdu.dk/en/publications/a-review-of-the-convexification-methods-for-ac-optimal-power-flow/)</sup> 在若干实例中，松弛可证明给出原非凸问题的全局最优，但当松弛不精确时，解不满足交流可行性。<sup>[12](https://arxiv.org/abs/1902.04815)</sup> 一项对14至3120个母线的96个测试案例的系统评估发现，即使最优性间隙低于1%，仍有若干案例显示出与交流可行性和局部最优性的显著距离；罚函数方法在45个案例中有15个未能恢复交流可行解；而用松弛解热启动非凸求解器在超过75%的案例中带来了加速。<sup>[12](https://arxiv.org/abs/1902.04815)</sup>

**表述选择。** ACOPF可以写成极坐标功率-电压形式、直角坐标功率-电压形式或直角坐标电流-电压形式。美国联邦能源管理委员会（FERC）的研究系列认为，电流-电压（IV）表述及其线性近似可能比传统二次潮流表述更容易求解，并发现迭代线性IV方法比若干商业非线性求解器更稳健、更快，后者在某些起点上无法收敛。<sup>[4](https://ferc.gov/industries-data/electric/power-sales-and-markets/increasing-efficiency-through-improved-software-0)</sup> 测试还表明，在时间敏感的应用中，对大型网络使用并行处理的多起点策略具有明显优势。<sup>[4](https://ferc.gov/industries-data/electric/power-sales-and-markets/increasing-efficiency-through-improved-software-0)</sup>

**学习与元启发式方法。** 近期综述追溯了从传统数学方法到人工智能方法的演变，包括基于元启发式搜索的算法和机器学习方法。<sup>[9](https://ieeexplore.ieee.org/document/10945774/)</sup> 机器学习用于OPF的动机是：随着间歇性可再生能源和需求响应增加不确定性，需要更频繁地调整资源设定点，因为精确问题的计算成本限制了可求解的频率。<sup>[13](https://www.sciencedirect.com/science/article/pii/S0306261925003678)</sup>

## 在市场与运行中的应用

ACOPF处于独立系统运营商电力市场和垂直一体化公用事业调度的核心。<sup>[4](https://ferc.gov/industries-data/electric/power-sales-and-markets/increasing-efficiency-through-improved-software-0)</sup> 在每个电力控制室中，OPF问题或其近似必须每天求解多次，最高可每5分钟一次。<sup>[2](https://www.ferc.gov/sites/default/files/2020-05/acopf-1-history-formulation-testing.pdf)</sup> FERC的评估是，ACOPF的良好求解技术可能每年节省数百亿美元，并且尽管计算取得了进步，在表述提出50年后，完整问题仍然没有快速、稳健的求解技术。<sup>[4](https://ferc.gov/industries-data/electric/power-sales-and-markets/increasing-efficiency-through-improved-software-0)</sup> 约束细节在实践中很重要：在测试问题中增加一个紧的线路极限，会使求解时间增至原来的2至20倍，成本最高增加25%。<sup>[4](https://ferc.gov/industries-data/electric/power-sales-and-markets/increasing-efficiency-through-improved-software-0)</sup>

## 基准测试与竞赛

比较OPF算法很困难，因为研究在表述以及网络、发电和负荷数据上存在细微差异。为解决这一问题，IEEE PES工作组提出了标准化的AC-OPF数学表述和PGLib-OPF网络库，该库开放访问，所有网络数据均采用知识共享许可。<sup>[6](https://arxiv.org/abs/1908.02788)</sup> 该库用于对求解交流OPF非凸非线性规划的算法进行基准测试，并在MATPOWER和PowerModels.jl中提供参考实现。<sup>[14](https://github.com/power-grid-lib/pglib-opf)</sup>

美国能源部高级研究计划局（ARPA-E）组织了电网优化（GO）竞赛，以推动这些算法的进展。挑战赛1要求团队使用精确交流模型求解安全约束OPF问题；前三名团队是gollnlp、GO-SNIP和GMI-GO。<sup>[1](https://arxiv.org/abs/2206.07843)</sup> 挑战赛2扩展了问题，加入输电线路切换、可调变压器变比、移相变压器、可投切并联设备、快速启动机组组合以及带爬坡约束的价格响应需求，并向九支团队共计授予240万美元。<sup>[15](https://arpa-e.energy.gov/news-and-events/news-and-insights/announcing-grid-optimization-go-competition-challenge-2-winners)</sup> 挑战赛3针对一个纳入[交流功率](https://www.edgepedia.org/zh/ac-power)建模和拓扑切换的多时段机组组合问题。<sup>[16](https://arxiv.org/abs/2411.12033)</sup>

## 历史背景

在数字计算之前，相关问题靠手工或原始工具求解。早在20世纪30年代，经济调度就使用等微增率负荷分配原理通过手工或计算尺计算，耗时可达8小时；1958年，基希迈尔（Kirchmayer）估计，为一个10台发电机系统制定调度计划需要10分钟计算，而今天区域运营商可在数秒内求解数百台发电机的系统。<sup>[2](https://www.ferc.gov/sites/default/files/2020-05/acopf-1-history-formulation-testing.pdf)</sup> 潮流问题早在1929年就在模拟网络分析仪上求解，沃德（Ward）和黑尔（Hale）于1956年发表了首个自动化数字解。<sup>[2](https://www.ferc.gov/sites/default/files/2020-05/acopf-1-history-formulation-testing.pdf)</sup> 在20世纪60年代，稀疏技术利用了导纳矩阵的稀疏结构之后，牛顿-拉夫逊（Newton-Raphson）法成为标准潮流求解方法。<sup>[2](https://www.ferc.gov/sites/default/files/2020-05/acopf-1-history-formulation-testing.pdf)</sup>

## References

1. [Recent Developments in Security-Constrained AC Optimal Power Flow: Overview of Challenge 1 in the ARPA-E Grid Optimization Competition (arXiv:2206.07843)](https://arxiv.org/abs/2206.07843)
2. [History of Optimal Power Flow and Formulations, FERC (December 2012)](https://www.ferc.gov/sites/default/files/2020-05/acopf-1-history-formulation-testing.pdf)
3. [Huang, Filonenko, and Veje (2019). A Review of the Convexification Methods for AC Optimal Power Flow, IEEE EPEC](https://portal.findresearcher.sdu.dk/en/publications/a-review-of-the-convexification-methods-for-ac-optimal-power-flow/)
4. [Optimal Power Flow and Formulation Papers, Federal Energy Regulatory Commission](https://ferc.gov/industries-data/electric/power-sales-and-markets/increasing-efficiency-through-improved-software-0)
5. [Critical review of recent advances and further developments needed in AC optimal power flow, Electric Power Systems Research](https://www.sciencedirect.com/science/article/pii/S0378779616300141)
6. [The Power Grid Library for Benchmarking AC Optimal Power Flow Algorithms (arXiv:1908.02788)](https://arxiv.org/abs/1908.02788)
7. [Global Optimization: Optimal Power Flow Problem, in Advances and Trends in Optimization with Engineering Applications, SIAM](https://epubs.siam.org/doi/10.1137/1.9781611974683.ch15)
8. [MATPOWER User's Manual, Chapter 6: Optimal Power Flow](https://www.matpower.org/docs/manual.pdf)
9. [Optimal Power Flow: A Review of State-of-the-Art Techniques and Future Perspectives, IEEE Access (2025)](https://ieeexplore.ieee.org/document/10945774/)
10. [Advances in Distribution Optimal Power Flow (DOPF): Theory, Implementation, and Applications, IEEE PES tutorial](https://resourcecenter.ieee-pes.org/education/tutorials/pes_ed_tut_072026_tut10_sld)
11. [Balancing accuracy and complexity in optimisation models of distributed energy systems and microgrids with optimal power flow: A review, Sustainable Energy Technologies and Assessments](https://doi.org/10.1016/j.seta.2022.102066)
12. [Inexact Convex Relaxations for AC Optimal Power Flow: Towards AC Feasibility (arXiv:1902.04815)](https://arxiv.org/abs/1902.04815)
13. [Review of machine learning techniques for optimal power flow, Applied Energy (2025)](https://www.sciencedirect.com/science/article/pii/S0306261925003678)
14. [power-grid-lib/pglib-opf: Benchmarks for the Optimal Power Flow Problem, GitHub](https://github.com/power-grid-lib/pglib-opf)
15. [Announcing Grid Optimization (GO) Competition Challenge 2 Winners, ARPA-E](https://arpa-e.energy.gov/news-and-events/news-and-insights/announcing-grid-optimization-go-competition-challenge-2-winners)
16. [GO Competition Challenge 3: Problem, Solvers, and Solution Analysis (arXiv:2411.12033)](https://arxiv.org/abs/2411.12033)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 工程与制造 › 电气与电子工程 › Power systems and installation

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/optimal-power-flow

English original: https://www.edgepedia.org/optimal-power-flow
