0

error using immod_status for induction machine

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

Arvin's avatar
25
Arvin
asked 2016-08-08 15:33:53 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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.

perolofl's avatar
3.8k
perolofl
answered 2016-09-20 01:41:10 -0500
edit flag offensive 0 remove flag delete 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's avatar Arvin (2016-09-23 16:03:32 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer