Ask Your Question

YI-WEI's profile - activity

2020-07-13 20:56:18 -0500 received badge  Famous Question (source)
2019-10-10 09:00:17 -0500 received badge  Famous Question (source)
2018-12-13 21:07:12 -0500 received badge  Notable Question (source)
2018-11-06 02:38:57 -0500 received badge  Popular Question (source)
2018-10-19 02:48:17 -0500 commented answer swing bus number / api

OK, Thank a lot!

2018-10-19 01:25:55 -0500 asked a question swing bus number / api

What PSS/E API can return system number of swing bus? THANKS!

2018-10-18 10:42:37 -0500 received badge  Notable Question (source)
2018-10-03 10:31:41 -0500 received badge  Popular Question (source)
2018-09-28 02:44:53 -0500 asked a question Return Branch data element in Actual value

I want to use api to return Branch data element in(Line R(ohm)、Line X(ohm)、Charging B (uF)) not in pu the api i found:

ierr, xarray = psspy.abrncplx(-1, 1, 1, 1, 1, 'RX')
ierr, rarray = psspy.abrnreal(-1, 1, 1, 1, 1, 'CHARGING')

it only return pu ,Can anyone help me? thx!

2018-07-30 01:36:19 -0500 asked a question PSSE33 api question

I would like to ask some questions about api: about the generation by the generator

ierr, cmpval = gendat(ibus) ;The api explain: Use this API to return plant total power output.

I use it in IEEE14 bus , Generator in bus1、2、3、6、8 .Only bus1 returns different values at different loads, and bus2, 3, 6, 8 are fixed values at different loads.

*I want to get the same generation of power as bus1, how to choose API?

2018-05-16 20:35:41 -0500 received badge  Famous Question (source)
2018-04-29 04:06:13 -0500 received badge  Notable Question (source)
2018-04-28 08:49:04 -0500 commented answer complex value to excel ---use excelpy

thanks your advice!

2018-04-27 12:04:45 -0500 received badge  Popular Question (source)
2018-04-27 08:54:55 -0500 commented answer complex value to excel ---use excelpy

This method I have tried, but there is no way to let P + jQ, output to the excel in one cell ?

2018-04-26 03:06:43 -0500 asked a question complex value to excel ---use excelpy

HI, I'm using excelpy set complex value to excel, I got the wrong :

ierr, totalload = psspy.systot('LOAD')

I used (set_cell) before but no work, I want to write the complex value of this API into excel,how do I do this? In addition, how to do if it is an array value(another api )?

2018-04-16 03:38:26 -0500 received badge  Famous Question (source)
2018-04-12 09:54:31 -0500 received badge  Famous Question (source)
2018-04-09 20:31:32 -0500 received badge  Popular Question (source)
2018-04-09 20:31:32 -0500 received badge  Notable Question (source)
2018-04-09 02:28:13 -0500 commented answer How to use the api to overwrite PSSE existing working case network data

ok,l learn a class ,thank you very much!

2018-04-09 00:29:51 -0500 asked a question How to use the api to overwrite PSSE existing working case network data

How to use the api to overwrite psse existing working case network data (load) -Pload & Qload two column, I should see which part of the manual?

2018-03-28 19:31:57 -0500 received badge  Notable Question (source)
2018-03-28 08:32:38 -0500 commented answer import psse to python

So python 64-bit may not work?

2018-03-28 00:52:49 -0500 received badge  Popular Question (source)
2018-03-27 08:07:38 -0500 asked a question import psse to python

Is PSSE33 connected to python, does python2.7 have to be 32-bit or 64-bit? Because I try 32-bit it can work, 64-bit cannot. In addition, PSSE and python connection only need to install PYWIN32? Because recently to help install a new computer, a bit forget how to do before

2018-03-13 10:45:06 -0500 commented answer export excel files to psse v33

I have read manual ch1, I follow your way and show some error. I want to check how to get psse raw data, if use" savnw" file for example to excel. very thank you!

2018-03-06 01:36:31 -0500 received badge  Famous Question (source)
2018-03-04 03:51:00 -0500 answered a question export excel files to psse v33
import os,sys
PYTHONPATH = r"C:\Python27\Lib\PSSBIN"
sys.path.append(PYTHONPATH)
os.environ['PATH'] += ';' + PYTHONPATH
import psspy
import redirect
redirect.psse2py()
psspy.psseinit(10000)
ierr = psspy.read(0, 'savnw.csv')
ierr = psspy.rdch(0,'TEST.sav' )

To savnw.csv data import to TEST.SAV

2018-03-04 03:34:27 -0500 answered a question export excel files to psse v33

import os,sys print sys.path

PYTHONPATH = r"C:\Python27\Lib\PSSBIN" sys.path.append(PYTHONPATH) os.environ['PATH'] += ';' + PYTHONPATH import xlrd import psspy import redirect redirect.psse2py() psspy.psseinit(10000)

ierr = psspy.read(0, 'savnw.csv') ierr = psspy.rdch(0,'TEST.sav' )

How to modify?

2018-03-04 03:31:07 -0500 commented answer export excel files to psse v33

hi Can you help me look at the code in below? it show some error : Reading IC, SBASE, REV, XFRRAT, NXFRAT, BASFRQ... Input error detected at ! 101,NUC-A,21.6,1,FLAPCO,77,PLANT,11,GEN 1,2,1.02,16.55,1.1,0.9,1.1,0.9

2018-03-02 09:20:40 -0500 commented answer export excel files to psse v33

OK THANK !

2018-03-02 08:31:05 -0500 marked best answer export excel files to psse v33

I want to write a python code to export excel data to psse .sav file. EXCEL data and PSSE NETWORK DATA the same format, how to use the API to write the program, please give me some examples. THANK!

2018-03-02 08:29:12 -0500 commented answer export excel files to psse v33

thanks to tell me this way . How to use RDCH?

2018-03-01 19:45:31 -0500 received badge  Notable Question (source)
2018-03-01 18:38:53 -0500 received badge  Popular Question (source)