Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To have info on gen 1 trip be sent to out1:

genlst = [[101,'1'],[202,'1']]
i = 0
for genx in genlst:
    i +=1
    psspy.case('savcnv.sav')
    psspy.rstr('savnw.snp')
    psspy.strt(outfile='%s.out'%i)
    psspy.run(tpause=1.0)
    psspy.dist_machine_trip(ibus=genx[0], id=genx[1])
    psspy.run(tpause=1.05)
    psspy.dist_clear_fault()
    psspy.run(tpause=5.0)