0

Why aareareal for interchange gives "[None]"?

I'm trying to get the area interchange for Area 70. Here is my code:

psspy.bsys(0,0,[ 0.2, 500.],1,[70],0,[],0,[],0,[])
psspy.progress_output(2,"Test 10_A70 interchange.txt",[0,0])
ierr, rarray = psspy.aareareal(0,1,'PINT')
print(rarray)
psspy.progress_output(1,"0",[0,0])

This seemed to work fine at one point but now no longer is. The text file reads "[None]" and ierr = 2 which means there is an invalid SID, but I'm not sure why it would be invalid.

Any help would be great, thanks!

TheBard's avatar
11
TheBard
asked 2019-01-22 12:50:57 -0500, updated 2019-01-22 13:23:56 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Use instead of bsys:

ier = psspy.asys(1,1, [70,])
jconto's avatar
2.9k
jconto
answered 2019-01-22 15:14:21 -0500
edit flag offensive 0 remove flag delete link

Comments

It magically started working again with what I had, but, I have changed it to what you have. This new asys works and hopefully will hold up over time. Thanks!

TheBard's avatar TheBard (2019-01-22 16:11:57 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer