First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
2

Error with psspy.two_winding_chng_4

asked Sep 26 '12

waltterval gravatar image

updated Sep 27 '12

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)

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 (Sep 27 '12)
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 (Sep 27 '12)

@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 (Sep 28 '12)

@JervisW thank you

waltterval gravatar imagewaltterval (Sep 28 '12)

1 answer

Sort by » oldest newest most voted
0

answered Jun 1 '4

Anil Kumar gravatar image

API document of PSSE is must for programming

link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: Sep 26 '12

Seen: 1,141 times

Last updated: Jun 01 '24