Ask Your Question
0

Why aareareal for interchange gives "[None]"?

asked 2019-01-22 12:50:57 -0500

TheBard gravatar image

updated 2019-01-22 13:23:56 -0500

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!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-01-22 15:14:21 -0500

jconto gravatar image

Use instead of bsys:

ier = psspy.asys(1,1, [70,])
edit flag offensive delete link more

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 gravatar imageTheBard ( 2019-01-22 16:11:57 -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

Stats

Asked: 2019-01-22 12:50:57 -0500

Seen: 29 times

Last updated: Jan 22