First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
SIEMENS POWER TECHNOLOGIES INTERNATIONAL
80000 BUS POWER SYSTEM SIMULATOR--PSS(R)E-34.4.0
INITIATED ON TUE, OCT 29 2019 17:50
Messages for api FNSL No network data in memory (005188)
Messages for api FNSL No network data in memory (005188)
Messages for api FNSL No network data in memory (005188)
Messages for api FNSL No network data in memory (005188)
Messages for api FNSL No network data in memory (005188) [None] [None, None] [None, None, None] [None, None, None, None] [None, None, None, None, None] [None, None, None, None, None, None] [None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None, None, None, None, None]
2 | No.2 Revision |
Here is my script, not sure why it is not picking up the model.
import time import psse34 import os,sys import psspy import redirect import glob import numpy as np import pandas as pd
timestr = time.strftime("%Y%m%d_%H%M%S")
basedir = 'C:\Users\Desktop\Load flow' inputfilesdir = 'C:\Users\Load flow\02savcase' outputfilesdir = 'C:\Users\Load flow\03Results'
cwd = os.getcwd() print ('\nScript running in the working directory:\n%s' % cwd)
_i=psspy.getdefaultint() _f=psspy.getdefaultreal() _s=psspy.getdefaultchar() redirect.psse2py() psspy.psseinit(80000)
os.chdir(base_dir)
casename = ['RProponent model)maxVRRv1.sav'] suffix = ['High_Load']
def removeSF(): psspy.machinechng2(30313,r"""1""",[i,i,i,i,i,i],[ 20.0,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f]) psspy.machinechng2(30312,r"""1""",[i,i,i,i,i,i],[ 20.0,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,_f]) psspy.fnsl([1,0,0,1,1,0,0,0]) psspy.fnsl([1,0,0,1,1,0,0,0]) psspy.fnsl([1,0,0,1,1,0,0,0]) psspy.fnsl([1,0,0,1,1,0,0,0])
Error MSG:
SIEMENS POWER TECHNOLOGIES
80000 BUS POWER SYSTEM SIMULATOR--PSS(R)E-34.4.0
INITIATED ON TUE, OCT 29 2019 17:50
Messages for api FNSL No network data in memory (005188)
Messages for api FNSL No network data in memory (005188)
Messages for api FNSL No network data in memory (005188)
Messages for api FNSL No network data in memory (005188)
Messages for api FNSL No network data in memory (005188) [None] [None, None] [None, None, None] [None, None, None, None] [None, None, None, None, None] [None, None, None, None, None, None] [None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None, None, None, None, None]
3 | No.3 Revision |
Here is my script, not sure why it is not picking up the model.
import time
import psse34
import os,sys
import psspy
import redirect
import glob
time
import psse34
import os,sys
import psspy
import redirect
import glob
import numpy as np
np
import pandas as pd
timestr = time.strftime("%Y%m%d_%H%M%S")
basebase_dir = 'C:\Users\Desktop\Load flow'
inputdir = 'C:\Users\Desktop\Load flow'
inputfilesfilesdir = 'C:\Users\Load flow\02savsavcase'
outputcase'
outputfilesdir = 'C:\Users\Load flow\03Results'
cwd = os.getcwd()
os.getcwd()
print ('\nScript running in the working directory:\n%s' % cwd)
_i=psspy.getdefaultint()
_f=psspy.getdefaultreal()
_s=psspy.getdefaultchar()
redirect.psse2py()
_i=psspy.getdefaultint()
_f=psspy.getdefaultreal()
_s=psspy.getdefaultchar()
redirect.psse2py()
psspy.psseinit(80000)
os.chdir(base_dir)
casename = ['RProponent model)maxVRRv1.sav']
v1.sav']
suffix = ['High_Load']
def removeSF():
psspy.machinechng2(30313,r"""1""",[i,i,i,i,i,i],[ 20.0,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f])
psspy.machinechng2(30312,r"""1""",[i,i,i,i,i,i],[ 20.0,f,f,f,f,f,f,f,f,f,f,f,f,f,f,f,_f])
remove_SF():
psspy.machine_chng_2(30313,r"""1""",[_i,_i,_i,_i,_i,_i],[ 20.0,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f])
psspy.machine_chng_2(30312,r"""1""",[_i,_i,_i,_i,_i,_i],[ 20.0,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f])
psspy.fnsl([1,0,0,1,1,0,0,0])
psspy.fnsl([1,0,0,1,1,0,0,0])
psspy.fnsl([1,0,0,1,1,0,0,0])
psspy.fnsl([1,0,0,1,1,0,0,0])
psspy.fnsl([1,0,0,1,1,0,0,0])
Error MSG: SIEMENS POWER TECHNOLOGIES INTERNATIONAL
80000 BUS POWER SYSTEM SIMULATOR--PSS(R)E-34.4.0
INITIATED ON TUE, OCT 29 2019 17:50
Messages for api FNSL No network data in memory (005188)
Messages for api FNSL No network data in memory (005188)
Messages for api FNSL No network data in memory (005188)
Messages for api FNSL No network data in memory (005188)
Messages for api FNSL No network data in memory (005188) [None] [None, None] [None, None, None] [None, None, None, None] [None, None, None, None, None] [None, None, None, None, None, None] [None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None, None, None, None, None]
4 | No.4 Revision |
Here is my script, not sure why it is not picking up the model.
import time
import psse34
import os,sys
import psspy
import redirect
import glob
import time
import psse34
import os,sys
import psspy
import redirect
import glob
import numpy as inputfilesdir
outputfilesdir
_i=psspy.getdefaultint()
_f=psspy.getdefaultreal()
_s=psspy.getdefaultchar()
redirect.psse2py()
psspy.psseinit(80000)
os.chdir(base_dir)
casename
Error MSG:
MSG:
SIEMENS POWER TECHNOLOGIES INTERNATIONAL
INTERNATIONAL
80000 BUS POWER SYSTEM SIMULATOR--PSS(R)E-34.4.0
INITIATED ON TUE, OCT 29 2019 17:50
Messages for api FNSL
No network data in memory (005188)
Messages for api FNSL
No network data in memory (005188)
Messages for api FNSL
No network data in memory (005188)
Messages for api FNSL
No network data in memory (005188)
Messages for api FNSL
No network data in memory (005188)
[None]
[None, None]
[None, None, None]
[None, None, None, None]
[None, None, None, None, None]
[None, None, None, None, None, None]
[None, None, None, None, None, None, None]
[None, None, None, None, None, None, None, None]
[None, None, None, None, None, None, None, None, None]
[None, None, None, None, None, None, None, None, None, None]
[None, None, None, None, None, None, None, None, None, None, None]
[None, None, None, None, None, None, None, None, None, None, None, None]
[None, None, None, None, None, None, None, None, None, None, None, None, None]
[None, None, None, None, None, None, None, None, None, None, None, None, None, None]
Messages for api FNSL No network data in memory (005188)
Messages for api FNSL No network data in memory (005188)
Messages for api FNSL No network data in memory (005188)
Messages for api FNSL No network data in memory (005188)
Messages for api FNSL No network data in memory (005188) [None] [None, None] [None, None, None] [None, None, None, None] [None, None, None, None, None] [None, None, None, None, None, None] [None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None, None, None, None] [None, None, None, None, None, None, None, None, None, None, None, None, None, None]