First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
import os,sys PYTHONPATH = r'C:\Program Files (x86)\PTI\PSSE33\PSSBIN' sys.path.append(PYTHONPATH) os.environ['PATH'] += ';' + PYTHONPATH import psspy import redirect redirect.psse2py() psspy.psseinit(5000000)
PSS(R)E Version 33 Copyright (c) 1976-2014 Siemens Industry, Inc., Power Technologies International (PTI) This program is a confidential unpublished work created and first licensed in 1976. It is a trade secret which is the property of PTI. All use, disclosure, and/or reproduction not specifically authorized by PTI is prohibited. This program is protected under copyright laws of non-U.S. countries and by application of international treaties. All Rights Reserved Under The Copyright Laws.
SIEMENS POWER TECHNOLOGIES INTERNATIONAL
150000 BUS POWER SYSTEM SIMULATOR--PSS(R)E-33.4.0
INITIATED ON MON, SEP 08 2014 15:14
0
psspy.case('D:\a.sav') File not found. D:.sav (OpnApplFil/OPNPTI)
Even though file a.sav is available at D drive, it is unable to retrieve.