简体   繁体   English

将 PSS/E.raw 文件转换为 Pandapower

[英]Convert PSS/E .raw file to Pandapower

I'm trying to find a possible way to convert PSS/E native.raw files to Pandapower format.我正在尝试找到一种可能的方法将 PSS/E native.raw 文件转换为 Pandapower 格式。 My objective is to take advantage of the network plotting capabilities that are available in Pandapower.我的目标是利用 Pandapower 中可用的网络绘图功能。 For that, I have to first be able to load my grid data into Pandapower.为此,我必须首先能够将我的网格数据加载到 Pandapower 中。 For that, I have to somehow bridge the gap between PSSE.raw to Pandapower.为此,我必须以某种方式弥合 PSSE.raw 与 Pandapower 之间的差距。

Literature says that a possible way of doing this is by using the 'psse2mpc' function available in Matpower.文献表明,一种可能的方法是使用 Matpower 中提供的“psse2mpc”function。 I've tried to use it but I get the following error message:我尝试使用它,但收到以下错误消息:

(quote) (引用)

>> psse2mpc('RED1523.raw')
Reading file 'RED1523.raw' ............................................. done.
Splitting into individual lines ...error: regexp: the input string is invalid UTF-8
error: called from
    psse_read at line 60 column 9
    psse2mpc at line 68 column 21

(unquote) (取消引用)

I'was informed that maybe I should save my.raw file (natively generated with a PSSE/E v33 version) into an older.raw format (corresponding to previous PSS/E versions).我被告知也许我应该将 my.raw 文件(使用 PSSE/E v33 版本本地生成)保存为 old.raw 格式(对应于以前的 PSS/E 版本)。

I've tried this as well but still have the same error message.我也试过这个,但仍然有同样的错误信息。

Apart from getting this error which so far impedes to reach my objective, I've been unable to guess the Pandapower "equivalent.raw" structure.除了得到这个迄今为止阻碍我实现目标的错误之外,我一直无法猜测 Pandapower 的“equivalent.raw”结构。 Does anybody know how this input structure looks like in Pandapower?有人知道 Pandapower 中的这种输入结构是什么样的吗?

If I would know how Pandapower needs to get the input data, I could even try to code a taylor-made python script that converts my.raw file into whatever is required from Pandapower.如果我知道 Pandapower 需要如何获取输入数据,我什至可以尝试编写一个泰勒制造的 python 脚本,将 my.raw 文件转换为 Pandapower 所需的任何文件。

If somebody could help me to get out of this labyrinth I would be most gratefull !!!如果有人能帮助我走出这个迷宫,我将不胜感激!!!

Thanks.谢谢。

Eneko.埃内科。

You need to check your.raw file to enter the other Inputs of the psse2mpc function.您需要检查 your.raw 文件以输入 psse2mpc function 的其他输入。 For instance, if I have the case39.raw file and I want to convert it to matpower format like case39mpc.m, then I must enter something like this:例如,如果我有 case39.raw 文件并且我想将其转换为 matpower 格式,例如 case39mpc.m,那么我必须输入如下内容:

psse2mpc ('case39.raw', 'case39mpc.m', '1', '29') psse2mpc ('case39.raw', 'case39mpc.m', '1', '29')

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM