Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Motor starting - Var channels appear empty

Hi all,

I have two motors in a bus (load ids 1 and 2); motor 2 initializes on line, motor 1 starts as off so I can start it in dynamics.

In the dyr file, I have added the CIM5BL model for both motors - OK.

Then I check the channels allocation for the VAR quantities, PSS/E tells me this:

BUS# X-- NAME --X BASKV ID MODEL X----CONS---X X---ICONS---X X---STATES--X X----VARS---X X-RES.ICONS-X 99999 CAR 6.9000 1 CIM5BL 12351- 12369 864 5229- 5234 1897- 1907 874- 877

99999 CAR 6.9000 2 CIM5BL 12370- 12388 865 5235- 5240 1908- 1918 878- 881

Then, in my Python code I added this:

psspy.var_channel([_i,1897],"Motor 1 - Admittance MVAr difference")
  psspy.var_channel([_i,1898],"Motor 1 - Motor Q")
  psspy.var_channel([_i,1899],"Motor 1 - T elec")
  psspy.var_channel([_i,1900],"Motor 1 - Delta w")
  psspy.var_channel([_i,1901],"Motor 1 - T Load")
  psspy.var_channel([_i,1902],"Motor 1 - Iq")
  psspy.var_channel([_i,1903],"Motor 1 - Id")
  psspy.var_channel([_i,1904],"Motor 1 - motor current")
  psspy.var_channel([_i,1905],"Motor 1 - Relay trip time")
  psspy.var_channel([_i,1906],"Motor 1 - Breaker trip time")
  psspy.var_channel([_i,1907],"Motor 1 - MVA rating")

  psspy.var_channel([_i,1908],"Motor 2 - Admittance MVAr difference")
  psspy.var_channel([_i,1909],"Motor 2 - Motor Q")
  psspy.var_channel([_i,1910],"Motor 2 - T elec")
  psspy.var_channel([_i,1911],"Motor 2 - Delta w")
  psspy.var_channel([_i,1912],"Motor 2 - T Load")
  psspy.var_channel([_i,1913],"Motor 2 - Iq")
  psspy.var_channel([_i,1914],"Motor 2 - Id")
  psspy.var_channel([_i,1915],"Motor 2 - motor current")
  psspy.var_channel([_i,1916],"Motor 2 - Relay trip time")
  psspy.var_channel([_i,1917],"Motor 2 - Breaker trip time")
  psspy.var_channel([_i,1918],"Motor 2 - MVA rating")

and switches in the motor by doing:

ierr = psspy.strt(_i,r"""results.out""")

Run for 0.2 second

psspy.run(0, 0.2,0,1,15)

Switch the motor model status to 1

ierr = psspy.ldmodstatus(0,busnumber[r],loadmotorid[r],1,1)

change the load torque from zero to actual value

ierr = psspy.changeldmodcon(busnumber[r], loadmotor_id[r], "CIM5BL", 19, Tload[r])

Switch the load status to 1

ierr = psspy.loaddata4(busnumber[r], loadmotorid[r], [1,i,i,i,i,i], [f,f,f,f,f,f])

Run for 15 seconds

psspy.run(0,15.0,0,1,15)

PSS/E output file tells me that:

Bus Type Load Characteristic model "CIM5BL" at Bus 99999 with load identifier "1": ubsystemmodel status set to ON (active)

Bus Type Load Characteristic model "CIM5BL" at Bus 99999 with load identifier "1": CON(J+18) [CON(12369) changed from 0.0 to 0.9 [Tnom]

Power flow data changed for load "1" at bus 99999 [CAR 6.9000]: X--ORIGINAL--X X-NEW VALUE--X DATA ITEM 0 1 STATUS

Up to this point, everything looks fine, but.....when I open the XLSX file, all values for motor 1 (1897 to 1907), the one that I am starting, come out as zero and continue as zero, they don't change when I switch the motor in.

For motor 2, all var channels come up OK.

Please, why don't the values change at 0.2 second, that is when I switch the motor in ?

Thanks a lot,

Mongo