Ask Your Question
0

PSSEXCEL.accc isn't applying percent of flow rating

asked Mar 1 '3

LSilv gravatar image

updated Mar 2 '3

I'm trying to use the PSSEXCEL.accc command through python and it doesn't seem to be applying the flow limit for the report. Since it isn't applying the limits and instead trying to post flow on everything, the report is exceeding the number of rows in MS Excel. I have been experimenting with the "flowchange" and "percent of flow rating" parameters to reduce reporting. Column G in the "branch flow" sheet confirms what parameters were supplied, but still flows with less than the "percent of flow rating" are reported.

The case has some transmission facilities with a 0 MVA rating. Is this what is messing things up? If it isn't the reason, why else would all flows be reported?

I'm using PSS/e version 34.7

1 answer

Sort by » oldest newest most voted
0

answered Mar 2 '3

jconto gravatar image

The following test code (with flowlimit = 100) show only those branch violations with overloads above 100:

# pssexcel_accc.py - Use of pssexcel to export ACCC results
import psse33
import pssexcel

accfile = 'savnw.acc'
xlsfile = 'savnw.xlsx'
string  = ['s','e','b','i','v','l','g','p']
colabel = []                #'base case', 'trip1nuclear', 'trip2nuclear']
sheet = ''
overwritesheet = True
show = True
baseflowvio = False
basevoltvio = False
flowlimit   = 100.0
flowchange  = 0.0
voltchange  = 0.0
cosep = True

pssexcel.accc(accfile,
              xlsfile=xlsfile,sheet=sheet,overwritesheet=overwritesheet,show=show,
              string=string,
              colabel=colabel,
              baseflowvio=baseflowvio, basevoltvio=basevoltvio, 
              flowlimit=flowlimit,flowchange=flowchange, 
              voltchange=voltchange, cosep=cosep)
link

Comments

I had some other things I had to change beyond what you have, but I have now gotten it working. Thanks

LSilv gravatar imageLSilv (Mar 2 '3)

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

1 follower

Stats

Asked: Mar 1 '3

Seen: 313 times

Last updated: Mar 02 '23