First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered Jun 21 '19

boat14 gravatar image

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
click to hide/show revision 2
No.2 Revision

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