First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
We have machines that remotely execute PSSE python scripts on a set of machines. The python script that spawns PSSE and runs the simulation, works fine until it is time to write out the output file. Other files such as excel output files work fine but using rawd_2 generates a "incorrect file type OPTIN/...." This file (with slight modifications) works perfectly if I run it from the PSSE automation script GUI option, ie. it writes out the raw file. Is this a permission issue or am I using the syntax wrong as shown below.
oname = Case[:-4] + '_'+str(buslist[g])+'.raw'
psspy.rawd_2(0,1, out= 0,ofile=oname )
2 | No.2 Revision |
We have machines that remotely execute PSSE python scripts on a set of machines. machines (Windows 7). The python script that spawns PSSE and runs the simulation, works fine until it is time to write out the output file. Other files such as excel output files work fine but using rawd_2 generates a "incorrect file type OPTIN/...."
This file (with slight modifications) works perfectly if I run it from the PSSE automation script GUI option, ie. it writes out the raw file. Is this a permission issue or am I using the syntax wrong as shown below.
oname = Case[:-4] + '_'+str(buslist[g])+'.raw'
psspy.rawd_2(0,1, out= 0,ofile=oname )