Constructing a Short Circuit Equivalent
Hello everyone,
I was trying to constructing a short circuit equivalent (psspy.sceq) which was introduced in chapter 9.10, Program Operation Manual, but when I run the program it always showed that "case is not under classical assumptions",
I have carried out the flat with choosing the set classical short circuit assumptions, but it doesn't help, could anyone please enlight me what's the problem is? My code is as follows:
import os, sys
PYTHONPATH = r'C:\Program Files (x86)\PTI\PSSE33\PSSBIN'
sys.path.append(PYTHONPATH)
os.environ['PATH'] += ';' + PYTHONPATH
import psspy
import redirect
def equivalent():
global pp
redirect.psse2py()
psspy.psseinit(buses=1000)
psspy.read(0,pp+'.raw')
psspy.fdns(0)
psspy.flat_2([1,0,0,0,0,0,0,0],[0.0,0.0])
psspy.cong(2)
psspy.conl(0,1,1,[0,0],[ 100.0,0.0,0.0, 100.0])
psspy.conl(0,1,2,[0,0],[ 100.0,0.0,0.0, 100.0])
psspy.conl(0,1,3,[0,0],[ 100.0,0.0,0.0, 100.0])
psspy.bsys(1,0,[ 13.8, 500.],1,[1],0,[],0,[],0,[])
psspy.sceq(1,0,0, 10.0,pp + '2' + '.raw',pp + '2' + '.seq')
if __name__ == '__main__':
global pp
pp = r'C:\Program Files (x86)\PTI\PSSE33\EXAMPLE\savnw'
equivalent()
Thank you all in advance!
Gary