首页> 外文会议>IEEE International Symposium on Industrial Electronics >Enhancing PowerFactory Dynamic Models with Python for Rapid Prototyping
【24h】

Enhancing PowerFactory Dynamic Models with Python for Rapid Prototyping

机译:使用Python增强PowerFactory动态模型以进行快速原型制作

获取原文

摘要

DIgSILENT PowerFactory is among the most widely adopted power system analysis tools in research and industry. It provides a comprehensive library of device models and it allows users to define their own. Models for dynamic simulation can be defined in the DIgSILENT Simulation Language (DSL). When the functionality of DSL is insufficient, new DSL functions can be defined in C or C++. However, C and C++ can be challenging for inexperienced programmers. Furthermore, every time the C or C++ code is modified, it needs to be recompiled and PowerFactory needs to be restarted for the changes to take effect, which slows down the workflow, model development, and inhibits rapid prototyping. In this paper we present an open source library that allows users to call Python functions and methods from DSL with minimal effort. Python is a powerful and much easier to use language than C or C++. Additionally, Python programs do not need to be compiled. Furthermore, with this library PowerFactory does not need to be restarted every time the Python code is changed. To illustrate what can be accomplished with our library we present three example use cases related to load modeling, co-simulation, and fault detection based on machine learning. The examples show that it becomes straightforward to enhance DSL with Python and that sophisticated models can be produced with reduced effort using popular open source Python libraries. As a consequence, PowerFactory users gain access to enhanced modeling capabilities and user-friendliness, and a more speedy workflow, which is beneficial for rapid prototyping.
机译:DIgSILENT PowerFactory是研究和行业中使用最广泛的电源系统分析工具之一。它提供了设备模型的全面库,并且允许用户定义自己的库。可以在DIgSILENT仿真语言(DSL)中定义用于动态仿真的模型。当DSL的功能不足时,可以用C或C ++定义新的DSL功能。但是,C和C ++对于没有经验的程序员而言可能是具有挑战性的。此外,每次修改C或C ++代码时,都需要重新编译该代码,并需要重新启动PowerFactory才能使更改生效,这会减慢工作流程,模型开发并抑制快速原型制作。在本文中,我们提供了一个开放源代码库,该库允许用户以最小的努力从DSL调用Python函数和方法。与C或C ++相比,Python是一种功能强大且易于使用的语言。此外,无需编译Python程序。此外,使用此库,无需在每次更改Python代码时都重新启动PowerFactory。为了说明使用我们的库可以完成的工作,我们提供了三个示例用例,这些用例与基于机器学习的负载建模,协同仿真和故障检测有关。这些示例表明,使用Python增强DSL变得很简单,并且可以使用流行的开放源代码Python库以较少的精力来生成复杂的模型。结果,PowerFactory用户可以访问增强的建模功能和用户友好性,并获得更快的工作流程,这对于快速原型设计是有益的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号