Cyber-physical systems such as microgrids consist of interconnected components, localized power systems, and distributed energy resources with clearly defined electrical boundaries. They can function independently but can also work in tandem with the main grid. Power system converters and their control loops play an essential role in stabilizing grids and interfacing a microgrid with the main grid. The optimal selection of microgrid components for installation is expensive. Simulation of microgrids provides a cost-effective solution. However, when studying the electromagnetic transient response, their simulation is slow. Furthermore, software packages facilitating electromagnetic transient response may be prohibitively expensive. This paper presents a faster method for simulating the electromagnetic transient response of microgrid components using SystemC-AMS. We present a use case of a photovoltaic grid-following inverter with a phase-locked loop to track reference active and reactive power. Our results demonstrate that the simulation performed using SystemC-AMS is roughly three times faster than the benchmark simulation conducted using Simulink. Our implementation of a photovoltaic grid-following inverter equipped with a phase-locked loop for monitoring reference active and reactive power reveals that the simulation executed using SystemC-AMS is approximately three times faster than the benchmark simulation carried out using Simulink. Our implementation adopts a model-based design and produces a library of components that can be used to construct increasingly complex grid architectures. Additionally, the C-based nature allows for the integration of external libraries for added real-time capability and optimization functionality. We also present a use case for real-time simulation using a DC microgrid with a constant resistive load.
翻译:微电网等网络物理系统由互连组件、本地化电力系统以及具有明确定义电气边界的分布式能源资源构成。它们既可以独立运行,也能与主电网协同工作。电力系统变流器及其控制回路在稳定电网以及实现微电网与主电网互联方面发挥着至关重要的作用。微电网组件的优化选型安装成本高昂,而仿真技术为此提供了经济高效的解决方案。然而,在研究电磁暂态响应时,现有仿真方法速度较慢,且支持电磁暂态响应的软件包可能价格昂贵。本文提出了一种基于SystemC-AMS的微电网组件电磁暂态响应快速仿真方法。我们以配备锁相环的光伏并网逆变器为例,展示其跟踪参考有功功率和无功功率的应用场景。结果表明,采用SystemC-AMS执行的仿真速度比基于Simulink的基准仿真快约三倍。我们采用基于模型的设计方法,构建了可用于搭建日益复杂电网架构的组件库。此外,基于C语言的特性允许集成外部库以增强实时能力与优化功能。我们还通过带恒定阻性负载的直流微电网案例,展示了实时仿真的应用场景。