Ask Your Question
0

error using immod_status for induction machine

asked Aug 8 '16

Arvin gravatar image

Hello,

i am trying to change the status of an induction machine, using "immod_status" in dynamic simulation. but i see the following error when running the python script:

psspy.immodstatus(1, '1',1); File ".\psspy.py", line 42521, in immodstatus TypeError: function takes exactly 4 arguments (3 given)

while based on psse documentation, in python, the immod_status gets just three input, not four!

anybody can help me with this.

Thanks, Arvin

1 answer

Sort by » oldest newest most voted
1

answered Sep 20 '16

perolofl gravatar image

You can use

psspy.induction_machine_chng(1,'1',1)

to disconnect/connect the induction machine. I think it should work in a dynamic simulation as well.

link

Comments

Thanks perolofl, Actually I was using CIMTR3 type induction machine which is defined as generator in *.raw file. and i was able to finally change its status using "machine_data_2(i=1, id='1', intgar1=1)" command.

Arvin gravatar imageArvin (Sep 23 '16)

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: Aug 8 '16

Seen: 241 times

Last updated: Sep 20 '16