Ask Your Question
2

Error with psspy.two_winding_chng_4

asked 2012-09-26 16:17:47 -0500

waltterval gravatar image

updated 2012-09-27 09:35:42 -0500

test.py file

psspy.two_winding_chng_4(i=22421, j=27421, ckt=r"""3""", realar1=0.00435, realar2=0.148)

Hi,

I run the file test.py into test.sav and I get the following message. I don't see any problem with my code. Can you help me?

Executing Python file:E:\REvBdD\2013\corregidas\Septiembre_2\test.py keyword argument realar1=0.00435 not used keyword argument realar2=0.148 not used Messages for api TWO_WINDING_CHNG_4 Messages for two-winding transformer circuit "3" from 22421 [NCUS-23 23.000] to 27421 [NCUS-115 115.00]: (001972) Error: Vector group "YNd1" not found; set to "YNd1" (002030) No power flow data changed for two-winding transformer circuit "3" from 22421 [NCUS-23 23.000] to 27421 [NCUS-115 115.00]


SOLUTION

Well the problem was that psspy.twowindingchng_4 in realar has inputs and outputs realar1 is an input so the right name is realari1 the same problem is with realar2.

The corrected code is

psspy.two_winding_chng_4(i=22421, j=27421, ckt=r"""3""", realari1=0.00435, realari2=0.148)
edit retag flag offensive close merge delete

Comments

1

I've never seen `two_winding_chng_4` before. Are you using PSSE33? In PSSE32 the `two_winding_data_3` function has `realari1` as a keyword argument not `realar1`. Note the additional `i`

JervisW gravatar imageJervisW ( 2012-09-26 20:22:05 -0500 )edit
1

@JervisW Yes, I'm using PSSE33 and I didn't know that I have to use the i. I modified my question with the answer

waltterval gravatar imagewaltterval ( 2012-09-27 09:16:20 -0500 )edit

@waltterval Believe me, I've had that same problem many times before! That is why I remember to add the `i` now.

JervisW gravatar imageJervisW ( 2012-09-27 21:50:55 -0500 )edit

@JervisW thank you

waltterval gravatar imagewaltterval ( 2012-09-27 23:22:14 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2024-06-01 02:55:40 -0500

Anil Kumar gravatar image

API document of PSSE is must for programming

edit flag offensive delete link more

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: 2012-09-26 16:17:47 -0500

Seen: 1,073 times

Last updated: Jun 01