Ask Your Question
0

error using immod_status for induction machine

asked 2016-08-08 15:33:53 -0500

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-09-20 01:41:10 -0500

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.

edit flag offensive delete link more

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 ( 2016-09-23 16:03:32 -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

1 follower

Stats

Asked: 2016-08-08 15:33:53 -0500

Seen: 40 times

Last updated: Sep 20 '16