Power output of all generators are zero
Can you help me resolve the issue where the power outputs of all generators are zero? My Python code is as follows:
import os, sys
import psse35
import psspy
psspy.throwPsseExceptions = True
import redirect
redirect.psse2py()
# MENU,OFF /* FORCE MENU TO CORRECT STATUS
psspy.psseinit(150000)
psspy.case('25hs1ap_rojan_summer_light_load.sav')
psspy.mcre([1,0],'25hs1_mcre.rwm')
psspy.fnsl([1,0,1,1,1,0,99,1])
psspy.fnsl([1,0,1,1,1,0,99,1])
psspy.runrspnsfile('25hs1_gnet.idv')
gnet_buses=[]
gnet_buses.append(22834) # / TALEGA 3.20 - STCON
gnet_buses.append(36217) # / PSWTSTCM 8.0 - STCON
gnet_buses.append(38950) # / TBC
gnet_buses.append(38951) # / TBC
psspy.bsys(1,0,[0.1,999.0],0,[],len(gnet_buses),gnet_buses,0,[],0,[])
psspy.gnet(1,0)
psspy.cong(0)
psspy.conl(0,1,1,[0,0],[ 100.0,0.0,0.0, 100.0])
psspy.conl(0,1,2,[0,0],[ 100.0,0.0,0.0, 100.0])
psspy.conl(0,1,3,[0,0],[ 100.0,0.0,0.0, 100.0])
psspy.ordr(1)
psspy.fact()
psspy.fact()
psspy.tysl(0)
psspy.tysl(0)
psspy.save('25hs1apC.sav')
# MENU,OFF /* FORCE MENU TO CORRECT STATUS
psspy.case('25hs1apC.sav')
psspy.dynamicsmode(1)
psspy.dyre_new([1,1,1,1],'25hs1a_rojan_v2.dyr')
psspy.dynamics_solution_param_2(realar1=0.6,realar3=0.0041667)
psspy.snap(sfile='25hs1apC.snp')
ierr = psspy.chsb(sid=0, all=1, status4=1, status5=7)
ierr = psspy.chsb(sid=0, all=1, status4=1, status5=2)
ierr = psspy.chsb(sid=0, all=1, status4=1, status5=3)
psspy.strt_2([0,1],str("LossLargestGen1.out"))
psspy.save("sim_start_severe_coal_retired.cnv")
psspy.run(0,1.0,500,50,0)
psspy.machine_chng_2(40063,r"""1""",intgar1=0)
psspy.run(0,2,500,6,0)
For example, an in-service generator model connected to bus 54014 has zero power output during the dynamic simulation, although its real power output is 10.8 MW in the power flow solution. In the .dyr file, it is defined as follows:
54014 'GENROU' 1 3.60000 0.200000E-01 1.00000 0.500000E-01 2.00000 0.00000 1.83000 1.75000 0.230000 0.500000 0.130000 0.100000 0.160000 0.670000 / WESGEN 9 13.800
Skip the python script and run everything in the GUI. Check the progress window and dynamics spreadsheet.
Run this in GUI and check the initialization messages.