Ask Your Question

Onun's profile - activity

2015-08-18 15:05:03 -0500 received badge  Taxonomist
2013-11-09 20:24:01 -0500 received badge  Famous Question (source)
2013-10-20 20:04:05 -0500 received badge  Notable Question (source)
2013-10-20 16:24:29 -0500 answered a question Error running PSSE from Python

I got the PSSE running. I dont know if I was making a noob mistake trying to run it trough Spyder, but when I tried to run it directly in a Python Interpreter I've managed it to work.

So now my question is:

It is not possible to run PSSE trough Python trough Spyder?

Thanks for all the answers who led me to find a solution !

2013-10-20 16:05:55 -0500 commented answer Error running PSSE from Python

I was already including that on the top of the file. When I run it I have the same problem. I think that the key to my problem is that message saying that is missing an ".ini" file. I'm using a 64 bit version of windows 8, and my PSSE location is "C:\Program Files (x86)\PTI\PSSEUniversity33\PSSBIN

2013-10-19 21:11:51 -0500 received badge  Student (source)
2013-10-19 21:05:52 -0500 received badge  Popular Question (source)
2013-10-18 11:41:17 -0500 received badge  Editor (source)
2013-10-18 11:40:19 -0500 commented question Error running PSSE from Python

What do you mean with "solution engine"? I edited my inicial post with the code I'm trying to run.

2013-10-17 06:02:18 -0500 asked a question Error running PSSE from Python

Whenever I try to run PSSE from Python I get the following message in the python interpreter:

"Could not find INI file: "ÝÊ.INI" Program will attempt to run anyway...

PSS(R)E University Version 33 Copyright (c) 1976-2013 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."

And then the interpreter stops working.

I'm using Python 2.7 and PSSE University 33. I've already tried to reinstall PSSE , tried with PSSE University 32 and I always get the same error.

Any ideas about whats causing this?

Thanks in advance.

EDIT: This is the code I'm trying to run:

CASE = r"C:\Users\N\Desktop\PDIS\03_10.sav"
psspy.psseinit(5)
psspy.case(CASE)
psspy.fnsl(
options1=0,
options5=0,
)