Problems with Python/PSSPY - new instalation PSSE v34
Hi everyone,
I have started using PSSE v34 from yesterday. I have problem with Python and module PSSPY. I can't use it normally, like in PSSE v33. I have wrote simple code:
import sys
import os
PSSE_PATH= r'C:\Program Files (x86)\PTI\PSSEXplore34\PSSPY27'
sys.path.append(PSSE_PATH)
os.environ['PATH'] = os.environ['PATH'] + ';' + PSSE_PATH
import psspy
psspy.psseinit(8000)
psspy.solution_parameters_4([_i,_i,_i,_i,_i],[_f,_f,_f,_f,_f, 0.001,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f])
psspy.nopf(0,1)
psspy.set_opf_report_subsystem(3,1)
print "TEST"
PSSE execute function "psspy.nopf(0,1)", but I can't use function "psspy.solutionparameters4" becouse I get back this information "Couldn't open Python file:C:\Users\Chilon\Desktop\testcode.py" Another problem is with the function "print". PSSE don't return any error and any text in Output Bar/Progress, it's clear.
Thanks for your help.