Ask Your Question
0

Unable to load PSSE .sav file in python

asked 2014-09-08 05:20:24 -0500

Gaurav kumar gravatar image

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.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2014-09-08 07:07:52 -0500

Mahesh gravatar image

Try psspy.case(r"""D:\a.sav""")

edit flag offensive delete link more
0

answered 2014-09-08 23:23:09 -0500

Gaurav kumar gravatar image

Thankyou Mahesh. It worked and executed.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Stats

Asked: 2014-09-08 05:20:24 -0500

Seen: 1,165 times

Last updated: Sep 08 '14