Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can just terminate with the psspy.pssehalt_2() command.

psspy.delete_all_plot_channels()                  # this clears the channels, not required because you're not saving the .snp file.
psspy.dynamicsmode(0)                             # not required, as you're not doing any more operations.
ierr_close_line = psspy.close_powerflow()         # not required, as you're not doing any more operations.
ierr_del_tmpfiles = psspy.deltmpfiles()           # not required, I'm pretty sure temp files get cleared when PSS/e terminates

You can just terminate with the psspy.pssehalt_2() command.

psspy.delete_all_plot_channels()          # this clears the channels, not required because you're not saving the .snp file.
psspy.dynamicsmode(0)                     # not required, as you're not doing any more operations.
ierr_close_line = psspy.close_powerflow()         # psspy.close_powerflow()# not required, as you're not doing any more operations.
ierr_del_tmpfiles = psspy.deltmpfiles()   # not required, I'm pretty sure temp files get cleared when PSS/e terminates