Ask Your Question
0

PSSEXCEL.accc isn't applying percent of flow rating

asked 2023-03-01 17:32:32 -0500

LSilv gravatar image

updated 2023-03-02 10:53:56 -0500

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2023-03-02 08:46:25 -0500

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)
edit flag offensive delete link more

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 ( 2023-03-02 12:10:37 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2023-03-01 17:32:32 -0500

Seen: 288 times

Last updated: Mar 02 '23