First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
So I have been looking into this, and just wrapped certain PSSE psspy commands with the syntax to silence the PSSE output and then turn it back on, leaving everything else (python print statement etc) normal to output to the terminal our the output bar.
#turn off PSSE output
psspy.progress_output(6,'',[])
#run a couple of loads flows
psspy.fdns([0,0,0,1,1,0,0,0])
psspy.fdns([0,0,0,1,1,0,0,0])
#turn normal output back on
psspy.progress_output(1,'',[])
So far this is the only instance I have used it, but outputs when changing load values via script I plan on also wrapping.
2 | No.2 Revision |
So Just adding more to what was said previously, I have been looking into this, and just wrapped certain PSSE psspy commands with the syntax to silence the PSSE output and then turn it back on, leaving everything else (python print statement etc) normal to output to the terminal our the output bar.
#turn off PSSE output
psspy.progress_output(6,'',[])
#run a couple of loads flows
psspy.fdns([0,0,0,1,1,0,0,0])
psspy.fdns([0,0,0,1,1,0,0,0])
#turn normal output back on
psspy.progress_output(1,'',[])
So far this is the only instance I have used it, but outputs when changing load values via script I plan on also wrapping.