Ask Your Question
0

network equivalence error in PSSE34

asked 2017-10-16 17:20:22 -0500

Gary22212 gravatar image

updated 2018-01-20 18:15:19 -0500

Hi everyone,

In my work, I am going to equivalent the network up to machine node, and the code in following works well in psse 33, however, in PSSE34, the IDE collapse every time I run the code, is this a bug in PSSE 34 ?

In PSSE 34, my code can work without the equivalence API, yet the spyder IDE will collapse every time I add the line "psspy.eeqv".

The network equivalence function works well in PSSE 34 interface, although the interface will also collapse sometimes.

If anyone knows how to fix this, I would appreciate that.

My code is as follows:

import os, sys
#print (sys.version)
#print(sys.path)
# Set path
sys_path_PSSE=r'C:\Program Files (x86)\PTI\PSSE34\PSSPY27' 
sys.path.append(sys_path_PSSE)
os_path_PSSE=r'C:\Program Files (x86)\PTI\PSSE34\PSSBIN' 
os.environ['PATH'] += ';' + os_path_PSSE

import psspy
pp = r'C:\Program Files (x86)\PTI\PSSE34\EXAMPLE\savnw'


psspy.psseinit(buses=50)
if not os.path.isfile(pp+'_progress.txt'):# output the progress to a file
    tmp_file = open(pp+'_progress.txt', 'w+')
    tmp_file.close()
psspy.progress_output(2, pp+'_progress.txt', [0,0])


psspy.read(0,pp+'.raw')
psspy.fdns([0,0,0,1,1,0,99,0])
psspy.fdns([0,0,0,1,1,0,99,0])
psspy.eeqv(0,1,[0,0,0,0,0,0],[0.0, 10.0]) # it works well in interface, while collapase every time when called by API
print "finish"
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-01-22 09:55:08 -0500

jconto gravatar image

The code works just fine, in or out of the (v34.3.1) PSSe GUI. I set buses to 15000. I do not use Spyder, but a simple DOS window. I got the following output to the command eeqv:

"5 radial and two-point buses equivalenced

Matrix is too big at row 8--increasing MATRIX GROWTH FACTOR option setting to 2.25

Matrix is too big at row 12--increasing MATRIX GROWTH FACTOR option setting to 2.5

Matrix is too big at row 12--increasing MATRIX GROWTH FACTOR option setting to 2.75

Diagonals = 18 Off-diagonals = 63 Maximum size = 78

PSS(R)E PROGRAM APPLICATION GUIDE EXAMPLE

BASE CASE INCLUDING SEQUENCE DATA

Bus 205 regulated by generation at bus 206 [URBGEN 18.000] has been deleted

Bus 201 regulated by generation at bus 211 [HYDRO_G 20.000] has been deleted

Bus 3008 regulated by generation at bus 3018 [CATDOG_G 13.800] has been deleted

"

edit flag offensive delete link more

Comments

Thank you so much jconto, I've contacted a Siemens engineer and it turns out there are many problems in initial released PSSE34.0.0 and 34xplore version, PSSE33 or PSSE34.3 should be a good idea to solve this.

Gary22212 gravatar imageGary22212 ( 2018-01-22 09:58:42 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2017-10-16 17:20:22 -0500

Seen: 951 times

Last updated: Jan 22 '18