简体   繁体   English

从 python 脚本在 PSSE 中编辑生成器

[英]Editing Generator in PSSE from python script

Im new in python programming for PSS/E simulation software.我是 PSS/E 仿真软件的 Python 编程新手。 I want to know how can i modify the values of Pgen Qgen Pmax Qmax not from machine data record user interface but from the python script and then make a dynamic simulation.我想知道如何不从机器数据记录用户界面而是从 python 脚本修改 Pgen Qgen Pmax Qmax 的值,然后进行动态模拟。 Thanks in advance Ersi Ago提前致谢 Ersi 前

You mean this?你是这个意思?

psspy.machine_chng_2(101,r"""1""",[_i,_i,_i,_i,_i,_i],[ 100.0,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f])

That is to change Pgen of machine located at bus 101即更改位于总线 101 的机器的 Pgen

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

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