How to see what case is open / if there is a case open using psspy? [closed]
Is there an API to check:
1) If there is a case open (.sav file) 2) What case is open - return the filename?
First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
Is there an API to check:
1) If there is a case open (.sav file) 2) What case is open - return the filename?
You can use sfiles() to return the current Saved case and Snapshot filenames.
SavedCase, SnapFile = psspy.sfiles()
print SavedCase
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"
Asked: 2016-10-24 02:58:20 -0600
Seen: 1,133 times
Last updated: Oct 24 '16
How do you get the current working case file name (and path)?
Plotting RoCoF using PSSPLT (version 35) and export results to excel using Python API
idv command to change case title for multiple cases (many sav files)
which API instruction can set the branch become breaker?
How do I conditional format excel based on cell value using PSSE excelpy?
Is there a Python API to get the GREF value?
Where can I find good tutorials to initiate python with PSSE?
Error: Messages for api FDNS Generators are "converted" (000488)
whit loves you. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.