First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
import os import sys import math PSSELOCATION=r'C:\Program Files (x86)\PTI\PSSE33\PSSBIN' sys.path.append(PSSELOCATION) os.environ['PATH'] = os.environ['PATH'] + ';' + PSSELOCATION import psspy import redirect redirect.psse2py() psspy.psseinit(10000) psspy.case(r'E:\PSSE Programming\Basic Literature\Vidu2.2.7\htdA3.sav') psspy.buschng3(101,[0,0,2,0],[0, 1.052,-5.1561,0,0,0,0],0) psspy.buschng3(102,[0,0,2,0],[0, 1.0885,0,0,0,0,0],0) psspy.buschng3(103,[0,0,2,0],[0, 1.0381, 1.0795,0,0,0,0],0) psspy.buschng3(110,[0,i,2,0],[0,0,0,0,0,0,0],0) psspy.buschng3(110,[0,0,5,0],[0,0,0,0,0,0,0],0) psspy.buschng3(103,[0,0,5,0],[0, 1.0381, 1.0795,0,0,0,0],0) psspy.buschng3(102,[0,0,5,0],[0,0,0,0,0,0,0],0)
2 | No.2 Revision |
import os
import sys
import math