First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

ACCC to Excel Not Showing Voltages For Contingencies

asked Sep 14 '2

s159753 gravatar image

Hello,

I'm trying to use pssexcel.accc function to export ACCC results to excel file. But in excel, it didn't give me voltages for contingencies, only show voltages from base case. I can't figure out where the problem is. In PSSe output window, everything is showing there correctly. Please help!!

Here's the code

psspy.acccsinglerunreport4([0,3,3,1,2,1,1,0,0,0,1,1],[0,0,0,0,0],[ 1, 6, 100.0,0.0,0.0,0.0, 99999.],BaseCase+'_'+TapSetting+'.acc')

pssexcel.accc(BaseCase+''+TapSetting+'.acc',['e','b','v'],colabel= '', stype='contingency', busmsm=0.5, sysmsm=7.0,rating='a',namesplit= True, xlsfile='Contingency230_BeforeTap.xls',overwritesheet=True, show=True)

1 answer

Sort by » oldest newest most voted
0

answered Sep 14 '2

jconto gravatar image

I got voltage violations for contingencies after adding "import pssexcel", like:

import pssexcel

psspy.accc_single_run_report_4([0,3,3,1,2,1,1,0,0,0,1,1],[0,0,0,0,0],[ 1, 6, 100.0,0.0,0.0,0.0, 99999.],'savnw.acc')

pssexcel.accc('savnw.acc',['e','b','v'],colabel= '', stype='contingency', busmsm=0.5, sysmsm=7.0,rating='a',namesplit= True, xlsfile='savnw5.xls',overwritesheet=True, show=True)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

Stats

Asked: Sep 14 '2

Seen: 187 times

Last updated: Sep 14 '22