First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
2016-02-06 04:53:26 -0500 | received badge | ● Notable Question (source) |
2016-02-06 04:53:26 -0500 | received badge | ● Famous Question (source) |
2016-02-04 01:25:41 -0500 | received badge | ● Popular Question (source) |
2016-02-03 14:16:25 -0500 | received badge | ● Scholar (source) |
2016-02-03 14:13:10 -0500 | answered a question | Creating Contingency Solution Output File for PSS/E basically, step 1 can't be done form python right? I was afraid of that, thanks anyway :) |
2016-02-03 07:01:06 -0500 | received badge | ● Organizer (source) |
2016-02-03 06:59:42 -0500 | asked a question | Creating Contingency Solution Output File for PSS/E Hi everyone, I'm trying to create *.acc file for pss/e using python. I can do this easily using pss/e itself: 1 - create *.sub, *.mon, *.con files 2 - create respective *.dfx file 3 - and finally create *.acc file The idea is to perform all these 3 tasks automatically, using python. So, using the record tool from psse I get this code: psspy.bsys(0,0,[ 230., 230.],1,[1],0,[],0,[],0,[]) psspy.bsys(0,0,[ 230., 230.],1,[1],0,[],0,[],0,[]) psspy.dfax([1,1],r"""PATH\reports.sub""",r"""PATH\reports.mon""",r"""PATH\reports.con""",r"""PATH\reports.dfx""") psspy.acccwithdsp_3( 0.5,[0,0,0,1,1,2,0,0,0,0,0],r"""IEEE""",r"""PATH\reports.dfx""",r"""PATH\reports.acc""","","","") psspy.acccsinglerunreport4([1,1,2,1,1,0,1,0,0,0,0,0],[0,0,0,0,6000],[ 0.5, 5.0, 100.0,0.0,0.0,0.0, 99999.],r"""PATH\reports.acc""") It happens that when I run this code on python, the *.sub, *.mon, *.con and *.dfx files are not created thus the API acccsinglerunreport4 reports an error. Can anyone tell me why these files aren't being created with this code? Thanks in advance for your time |