# 逆变器模型

逆变器模型是[功率逆变器](https://www.edgepedia.org/zh/power-inverter)的数学表示或仿真表示，用于电力电子和电力系统工程中设计、控制和测试直流—交流变换设备。由于单个变流器既可以用开关级模型表示，也可以用平均电路、动态相量模型或正序相量模型表示，工程人员会根据所研究的现象——从 PWM 谐波到区域间振荡——选择与之匹配的保真度水平。<sup>[1](https://arxiv.org/html/2603.19132)</sup><sup> • </sup><sup>[2](https://www.emtp.com/documents/EMTP-Documentation/doc/power-electronics/inverter-documentation.pdf)</sup><sup> • </sup><sup>[3](https://www.nerc.com/globalassets/who-we-are/standing-committees/rstc/irps/ppmv_for_inverter_based_resources.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 保真度阶梯 | 开关模型、平均模型、动态相量模型和正序模型以精度换取计算时间。<sup>[4](https://arxiv.org/html/2310.02056)</sup> |
| 速度差异 | 对于 0.2 s 的研究，开关型、平均型和稳态逆变器模型分别耗费 22.49 s、0.25 s 和 0.15 s 的计算时间。<sup>[5](https://bbjohnson.org/wp-content/uploads/2022/02/C49_2021_Unified-Equivalent-circuit-Models-for-Voltage-source-Inverters-that-Capture.pdf)</sup> |
| 时间步长差距 | 正序构网型基准在 GE-PSLF 中以 1 ms 步长运行，而在 PSCAD 中电磁暂态步长为 5 μs。<sup>[6](https://www.wecc.org/sites/default/files/documents/meeting/2024/Memo%20on%20Proposal%20for%20Generic%20GFM%20Model_v6_clean.pdf)</sup> |
| 控制方式之分 | 跟网型逆变器按设定值注入电流；构网型逆变器设定电压幅值、相角和频率。<sup>[1](https://arxiv.org/html/2603.19132)</sup> |
| 标准构网型模型 | WECC 的 REGFM_A1（下垂控制，2023 年 9 月 27 日批准）、REGFM_B1（虚拟同步机，2024 年 5 月 23 日批准）和 REGFM_C1（混合型，2025 年 9 月 11 日批准）是已获批的正序库模型。<sup>[7](https://www.wecc.org/sites/default/files/documents/meeting/2025/11%20-%20DuW%20-%20Model%20Specifications%20of%20Grid-Forming%20Hybrid%20Control%20and%20Plant%20control%20REGFM_C1%20and%20REPCGFM_C1_January%202025.pdf)</sup> |
| 已知盲区 | 平均模型忽略开关谐波；正序模型可能掩盖系统级动态，给出过于乐观的稳定性结果。<sup>[8](https://www.mathworks.com/help/sps/ref/averagevalueinverterthreephase.html)</sup><sup> • </sup><sup>[9](https://doi.org/10.1109/tpel.2021.3117633)</sup><sup> • </sup><sup>[10](https://www.nerc.com/globalassets/who-we-are/standing-committees/rstc/irps/draft_white-paper-equipment-model-validation_v3-1_clean.pdf)</sup> |

## 工作原理

所有逆变器模型表示的都是同一物理装置：由功率半导体将直流源开关变换为交流端输出，并由控制系统决定开关模式。保真度阶梯从开关模型开始——它对非线性动态的刻画最为彻底，但随着变流器数量增多，计算负担沉重——经过忽略开关动态、付出一定精度代价的线性平均模型，再到动态相量模型；动态相量模型比平均模型更精确，但技术上更为复杂。<sup>[4](https://arxiv.org/html/2310.02056)</sup>

控制通常在 dq 坐标系（将有功电流与无功电流分离的旋转坐标系）中建立。在参考坐标系对齐适当且控制设计合理的情况下，dq 电流分量可用于近似独立地控制有功功率和无功功率：快速内环电流控制跟踪电流参考值，而电流参考值通常由外环有功功率、无功功率或直流母线电压环生成，其中 d 轴分量控制有功功率或直流母线电压，q 轴分量控制无功功率。<sup>[2](https://www.emtp.com/documents/EMTP-Documentation/doc/power-electronics/inverter-documentation.pdf)</sup> abc 坐标系下的波形通过 Park 变换矩阵映射为以同步参考角旋转的 dq 分量；在典型的跟网型控制中，同步参考坐标系锁相环提供该角度，而构网型控制通常通过其电压和频率控制自行生成角度。<sup>[11](https://emtp.com/documents/EMTP-Documentation/doc/power-electronics/gfminverter-documentation.pdf)</sup>

并网交互行为因控制类型而异。构网型逆变器并不立即跟随电网电压；它们以具有惯性的行为构建电压相量，而电流控制的跟网型逆变器注入电流以满足功率设定值，按惯例不提供弹性惯量。<sup>[12](https://www.mdpi.com/1996-1073/13/10/2589)</sup> 完全由跟网型逆变器构成的系统需要外部同步信号，因此高渗透率系统会混合使用两种类型。<sup>[1](https://arxiv.org/html/2603.19132)</sup> 动态相量建模基于对微分方程施加[傅里叶变换](https://www.edgepedia.org/zh/fourier-transform)，适用于任何变流器拓扑，可得到包含谐波、以代数—微分系统形式表示的标幺相量模型。<sup>[13](https://www.sba.org.br/open_journal_systems/index.php/sbse/article/download/2346/1994/4469)</sup>

## 实现方法

典型的建模流程从选择保真度开始。在 EMTP 的通用并网变流器中，详细模型表示 IGBT，而平均值模型用理想电压源替代开关电路，电压源跟随内环控制计算出的电压参考值；平均值模型之所以存在，是因为高频 PWM 信号迫使开关仿真采用很小的仿真步长。<sup>[2](https://www.emtp.com/documents/EMTP-Documentation/doc/power-electronics/inverter-documentation.pdf)</sup> Simulink 的平均值逆变器（三相）模块表现为受直流电压控制的交流电压源，将三相交流功率需求转换为等于固定功率损耗加[交流功率](https://www.edgepedia.org/zh/ac-power)需求的直流功率需求。<sup>[8](https://www.mathworks.com/help/sps/ref/averagevalueinverterthreephase.html)</sup>

随后进行参数化，涵盖直流母线（光伏组件、电池储能或恒压直流源）、滤波器和控制，包括有功—频率下垂与无功—电压下垂。<sup>[2](https://www.emtp.com/documents/EMTP-Documentation/doc/power-electronics/inverter-documentation.pdf)</sup> 开源求解器呈现同样的结构：DPsim 的电磁暂态 Ph3 平均电压源逆变器包含锁相环、经过滤波的有功与无功功率测量、外环功率控制、内环电流控制以及带耦合电阻的 LC 滤波器，并且由于运行点变化时需要重新计算其状态空间形式，它与网络同时求解。<sup>[14](https://dpsim.fein-aachen.org/docs/concepts/models/power-electronics/emt-ph3-averaged-vsi/)</sup> 验证闭合了整个流程：已有功率硬件在环测试平台用于在多种故障场景下，将具备和不具备低电压穿越能力的逆变器模型与两台商用逆变器进行对比。<sup>[15](https://www.osti.gov/servlets/purl/1526428)</sup>

## 起源

电压源变流器的平均模型表示在电力电子建模中被视为一项成熟假设，Erickson 的《电力电子基础》（2007 年）被引为其依据。<sup>[1](https://arxiv.org/html/2603.19132)</sup> “构网型”一词由该主题最早的一批论文之一引入，此后在学术界和工业界得到确立。<sup>[12](https://www.mdpi.com/1996-1073/13/10/2589)</sup> 在状态空间建模中，组件连接法在过去十年应用于基于电力电子的电力系统时重新受到关注，并于 2014 年被应用于风电场及其并网的具体建模。<sup>[16](https://www.mdpi.com/1996-1073/13/18/4824)</sup> 更近期，构网型逆变器及场站控制器模型获得批准并实现。<sup>[17](https://www.wecc.org/sites/default/files/documents/meeting/2026/IBR%20Power%20Plant%20Modeling%20and%20Validation%20Guideline.pdf)</sup>

## 变体

NERC 区分四个保真度级别：详细的厂商专用电磁暂态模型；降阶的厂商专用电磁暂态模型（基于 DLL，在不披露源码的情况下共享）；降阶的厂商专用正序稳定性模型；以及用于跨区域规划的通用开源“第二代”可再生能源正序模型。<sup>[3](https://www.nerc.com/globalassets/who-we-are/standing-committees/rstc/irps/ppmv_for_inverter_based_resources.pdf)</sup> 详细电磁暂态模型为专有模型，在 [PSCAD](https://www.edgepedia.org/zh/pscad)、MATLAB 和 EMTP-RV 等工具中实现。<sup>[3](https://www.nerc.com/globalassets/who-we-are/standing-committees/rstc/irps/ppmv_for_inverter_based_resources.pdf)</sup>

**构网型变体。** 一套通用构网型模型套件表示三种控制方法：基于下垂控制、基于虚拟同步机（VSM）以及基于可调度虚拟振荡器（dVOC）。<sup>[6](https://www.wecc.org/sites/default/files/documents/meeting/2024/Memo%20on%20Proposal%20for%20Generic%20GFM%20Model_v6_clean.pdf)</sup> EMTP 的构网型逆变器还额外提供基于锁相环的构网型选项。<sup>[11](https://emtp.com/documents/EMTP-Documentation/doc/power-electronics/gfminverter-documentation.pdf)</sup> WECC 的 REGFM_A1 将下垂控制的构网型逆变器建模为耦合电抗后的可控电压源，其内部电压幅值 \( E \) 和角频率 \( \omega \) 由下垂控制器设定；该模型包含 P-f 和 Q-V 下垂、有功与无功功率限幅以及暂态故障电流限幅，但将稳态电流限幅和高级穿越功能推迟到未来版本。<sup>[18](https://www.wecc.org/sites/default/files/documents/products/2024/Model%20Specification%20of%20Droop-Controlled%20Grid-Forming%20Inverters-REGFM_A1.pdf)</sup> REGFM_B1 是虚拟同步机规范。<sup>[19](https://docs.nlr.gov/docs/fy24osti/90260.pdf)</sup> UNIFI 通用虚拟同步机规范（第 12 版，2024 年 1 月）支持在无法获得厂商专用模型时开展长期规划研究。<sup>[20](https://www.wecc.org/sites/default/files/documents/meeting/2024/10%20-%20%20DuW%20-%20UNIFI%20Generic%20Virtual%20Synchronous%20Machine%20Grid-Forming%20Inverter%20Model%20Specification-V12_January%202024_1.pdf)</sup> REGFM_C1 在一台逆变器中并行运行构网型与跟网型控制；在相量域中，构网型支路为虚拟阻抗 \( R_{s} + j \cdot X_{s} \) 后的电压相量，与一个电流相量并联。<sup>[7](https://www.wecc.org/sites/default/files/documents/meeting/2025/11%20-%20DuW%20-%20Model%20Specifications%20of%20Grid-Forming%20Hybrid%20Control%20and%20Plant%20control%20REGFM_C1%20and%20REPCGFM_C1_January%202025.pdf)</sup> 针对不平衡条件，构网型逆变器的正序与负序等效电路模型可适应电流参考饱和与虚拟阻抗电流限幅，并已针对平衡与不平衡故障与全阶电磁暂态仿真进行验证。<sup>[21](https://docs.nlr.gov/docs/fy25osti/90519.pdf)</sup>

**开源与数据驱动变体。** 用开源 Modelica 语言和 OpenIPSL 库编写的增强型 WECC 可再生能源模型连同验证数据作为开源资源发布。<sup>[22](https://par.nsf.gov/biblio/10655329-customized-open-source-renewable-energy-models-validated-through-phil-lab-experiments)</sup> 已创建一种开源虚拟同步机构网型模型，其中电流限幅通过临时电流控制实现，在故障的大部分时间内保持构网型功能。<sup>[23](https://agistin.eu/wp-content/uploads/2025/07/101096197_AGISTIN_D3.2_Open-source-simulation-models-of-the-pertinent-grid-coupling-systems-open-for-parametrisation-according-to-individual-load-generation-and-storage-technologies-1.pdf)</sup> 一个基于 CNN 的代理模型在来自多台商用跟网型逆变器的现场测量数据上训练，并被集成到 GridLAB-D 中，在 2 ms 时间步长、40 s 窗口内将详细跟网型模型的仿真时间从 209 s 降至 198 s，同时保持亚毫秒分辨率。<sup>[24](https://www.osti.gov/pages/servlets/purl/3028585)</sup> 一个物理信息潜变量神经常微分方程模型将系统物理与神经学习层结合，以捕捉专有构网型机组的未建模行为。<sup>[25](https://arxiv.org/pdf/2507.15259v1.pdf)</sup>

## 应用

**电网研究。** 正序模型服务于跨区域规划，在稳定性分析工具 0.1 至 10 Hz 带宽内进行基准测试，覆盖 10 至 30 s 仿真中从数十毫秒到数秒的暂态过程。<sup>[3](https://www.nerc.com/globalassets/who-we-are/standing-committees/rstc/irps/ppmv_for_inverter_based_resources.pdf)</sup> 电磁暂态模型测试逆变器在多种电网故障条件下的性能，以验证其与 IEEE Std 2800 要求的一致性。<sup>[26](https://docs.nlr.gov/docs/fy24osti/89516.pdf)</sup>

**硬件在环。** 在功率硬件在环测试中，数字实时仿真器接收测量值并向功率接口发送新的设定值，其中接口算法尤为重要；功率硬件在环使实时仿真电网能够与物理逆变器耦合，以研究多个公共连接点上的多逆变器交互。<sup>[27](https://www.mdpi.com/1996-1073/11/12/3381)</sup><sup> • </sup><sup>[28](https://www.mdpi.com/1996-1073/16/2/916)</sup> 使用特定逆变器及其设置的功率硬件在环测试结果最为准确，但详细的逆变器模型在复杂的低电压穿越条件下仍能为配电工程师提供贴近实际的结果。<sup>[15](https://www.osti.gov/servlets/purl/1526428)</sup>

## 局限与替代方案

**谐波。** Simulink 平均值逆变器不产生与详细表示相关的谐波，因为它执行的是平均值功率变换。<sup>[8](https://www.mathworks.com/help/sps/ref/averagevalueinverterthreephase.html)</sup> 开关模型和 VI 模型能够正确模拟逆变器产生的低次和高次谐波，而平均值模型适用于关注电网谐波对逆变器影响而非相反情况的研究。<sup>[9](https://doi.org/10.1109/tpel.2021.3117633)</sup> 死区畸变是一个具体缺口：普通平均开关仿真缺少变流器电流波形上的谐波和畸变，而一种再现过零畸变的增强时间平均模型可解决该问题。<sup>[29](https://doi.org/10.1109/access.2021.3056799)</sup>

**隐藏动态。** NERC 指出，系统级动态常常隐藏在传统正序模型中，因此需要模型验证测试来确认电磁暂态模型准确表示基于逆变器的资源（IBR）动态行为，以保障大电网可靠性。<sup>[10](https://www.nerc.com/globalassets/who-we-are/standing-committees/rstc/irps/draft_white-paper-equipment-model-validation_v3-1_clean.pdf)</sup> 相量域仿真还可能根据构网型逆变器的控制特性给出过于乐观的稳定性结果。<sup>[9](https://doi.org/10.1109/tpel.2021.3117633)</sup> 由于标幺损耗和滤波器阻抗不匹配，用现成的缩比变流器构建全尺寸硬件复制品实际上不可能。<sup>[30](https://iris.unitn.it/handle/11572/409539)</sup>

## References

1. [Tutorial: Grid-Following Inverter for Electrical Power Grid](https://arxiv.org/html/2603.19132)
2. [EMTP Inverter Documentation (generic grid-connected VSC model)](https://www.emtp.com/documents/EMTP-Documentation/doc/power-electronics/inverter-documentation.pdf)
3. [NERC Reliability Guideline: PPMV for Inverter-Based Resources](https://www.nerc.com/globalassets/who-we-are/standing-committees/rstc/irps/ppmv_for_inverter_based_resources.pdf)
4. [Leveraging Data-Driven Models for Accurate Analysis of Grid-Tied Smart Inverters Dynamics](https://arxiv.org/html/2310.02056)
5. [Unified Equivalent-circuit Models for Voltage-source Inverters that Capture Averaged Dynamics and Power-flow Solutions in Distribution Networks](https://bbjohnson.org/wp-content/uploads/2022/02/C49_2021_Unified-Equivalent-circuit-Models-for-Voltage-source-Inverters-that-Capture.pdf)
6. [Memorandum: Proposal for Generic GFM Model (WECC)](https://www.wecc.org/sites/default/files/documents/meeting/2024/Memo%20on%20Proposal%20for%20Generic%20GFM%20Model_v6_clean.pdf)
7. [WECC Model Specifications of Grid-Forming Hybrid Control and Plant Control REGFM_C1 and REPCGFM_C1 (January 2025)](https://www.wecc.org/sites/default/files/documents/meeting/2025/11%20-%20DuW%20-%20Model%20Specifications%20of%20Grid-Forming%20Hybrid%20Control%20and%20Plant%20control%20REGFM_C1%20and%20REPCGFM_C1_January%202025.pdf)
8. [Average-Value Inverter (Three-Phase) - MATLAB & Simulink](https://www.mathworks.com/help/sps/ref/averagevalueinverterthreephase.html)
9. [Comparison and Selection of Grid-Tied Inverter Models for Accurate and Efficient EMT Simulations](https://doi.org/10.1109/tpel.2021.3117633)
10. [Draft White Paper: Equipment Model Validation (NERC)](https://www.nerc.com/globalassets/who-we-are/standing-committees/rstc/irps/draft_white-paper-equipment-model-validation_v3-1_clean.pdf)
11. [EMTP GFM Inverter Documentation](https://emtp.com/documents/EMTP-Documentation/doc/power-electronics/gfminverter-documentation.pdf)
12. [Overview on Grid-Forming Inverter Control Methods](https://www.mdpi.com/1996-1073/13/10/2589)
13. [Dynamic Phasor Modelling paper (SBSE journal)](https://www.sba.org.br/open_journal_systems/index.php/sbse/article/download/2346/1994/4469)
14. [EMT Ph3 Averaged Voltage Source Inverter | DPsim](https://dpsim.fein-aachen.org/docs/concepts/models/power-electronics/emt-ph3-averaged-vsi/)
15. [PV-Inverter Dynamic Model Validation and Comparison Under Fault Scenarios Using a Power Hardware-in-the-Loop Testbed](https://www.osti.gov/servlets/purl/1526428)
16. [State-Space Modeling Techniques of Emerging Grid-Connected Converters](https://www.mdpi.com/1996-1073/13/18/4824)
17. [WECC IBR Power Plant Modeling and Validation Guideline](https://www.wecc.org/sites/default/files/documents/meeting/2026/IBR%20Power%20Plant%20Modeling%20and%20Validation%20Guideline.pdf)
18. [Model Specification of Droop-Controlled, Grid Forming Inverters (REGFM_A1)](https://www.wecc.org/sites/default/files/documents/products/2024/Model%20Specification%20of%20Droop-Controlled%20Grid-Forming%20Inverters-REGFM_A1.pdf)
19. [Virtual Synchronous Machine Grid-Forming Inverter Model Specification (REGFM_B1)](https://docs.nlr.gov/docs/fy24osti/90260.pdf)
20. [UNIFI Generic Virtual Synchronous Machine Grid-Forming Inverter Model Specification (V12, January 2024)](https://www.wecc.org/sites/default/files/documents/meeting/2024/10%20-%20%20DuW%20-%20UNIFI%20Generic%20Virtual%20Synchronous%20Machine%20Grid-Forming%20Inverter%20Model%20Specification-V12_January%202024_1.pdf)
21. [Equivalent-Circuit Models for Grid-Forming Inverters under Unbalanced Steady-State Operating Conditions (Preprint)](https://docs.nlr.gov/docs/fy25osti/90519.pdf)
22. [Customized open source renewable energy models validated through PHIL lab experiments](https://par.nsf.gov/biblio/10655329-customized-open-source-renewable-energy-models-validated-through-phil-lab-experiments)
23. [AGISTIN D3.2: Open-source simulation models of pertinent grid coupling systems](https://agistin.eu/wp-content/uploads/2025/07/101096197_AGISTIN_D3.2_Open-source-simulation-models-of-the-pertinent-grid-coupling-systems-open-for-parametrisation-according-to-individual-load-generation-and-storage-technologies-1.pdf)
24. [Dynamic Validation of CNN-Based Surrogate Models for Inverter-Based Resources in Open-Source Solvers](https://www.osti.gov/pages/servlets/purl/3028585)
25. [Physics-Informed Learning of Proprietary Inverter Models for Grid Dynamic Studies](https://arxiv.org/pdf/2507.15259v1.pdf)
26. [Developing IEEE Std 2800-Compliant Algorithms for Transmission-Connected Inverter-Based Resources (Preprint)](https://docs.nlr.gov/docs/fy24osti/89516.pdf)
27. [Comparison of Power Hardware-in-the-Loop Approaches for the Testing of Smart Grid Controls](https://www.mdpi.com/1996-1073/11/12/3381)
28. [Power Hardware-in-the-Loop (PHIL): A Review to Advance Smart Inverter-Based Grid-Edge Solutions](https://www.mdpi.com/1996-1073/16/2/916)
29. [Enhanced Time Average Model of Three Phase Voltage Source Converter Taking Dead-Time Distortion Effect Into Account](https://doi.org/10.1109/access.2021.3056799)
30. [A Physics-Informed Scaling Method for Power Electronic Converters in Power Hardware-in-the-Loop Test Beds](https://iris.unitn.it/handle/11572/409539)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026; Oct 21, 2026*

Topic: 技术与人造世界 › 能源技术 › 燃料与能源转换技术 › Titles In to W › Titles I to Re

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/inverter-model

English original: https://www.edgepedia.org/inverter-model
