First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
You can use TITLDT to return the two line case title.
line1, line2 = psspy.titldt()
2 | No.2 Revision |
You can use TITLDT titldt() to return the two line case title.
line1, line2 = psspy.titldt()
or sfiles() to return the current Saved Case and Snapshot filenames.
SavedCase, SnapFile = sfiles()
3 | No.3 Revision |
You can use titldt() to return the two line case title.
line1, line2 = psspy.titldt()
or sfiles() to return the current Saved Case and Snapshot filenames.
SavedCase, SnapFile SavedCase, SnapFile = sfiles()
and you can use it to check if a case file is open as follows:
if not psspy.sfiles()[0]: print "No Saved Case file is open" else: print psspy.sfiles()[0] + " Saved Case file is open"
4 | No.4 Revision |
You can use sfiles() to return the current Saved Case case and Snapshot filenames.
SavedCase, SnapFile = and you can use it to check if a case file is open as follows:
if not psspy.sfiles()[0]:
print "No Saved Case file is open"
else:
print psspy.sfiles()[0] + " Saved Case file is