Ask Your Question
0

How can you interpret a .acc file from PSSE and extract useful data?

asked 2019-04-30 08:39:38 -0600

cheema gravatar image

updated 2022-03-24 09:29:13 -0600

jconto gravatar image

I have a .acc file and it has a lot weird characters: e-g: f†?ff†? €?¶º…?¶º…?¶º…? €?q¡

how can you decode these characters? and extract data from .ACC file and store into an excel file?

I have already tried using "EXPORT RESULTS TO EXCEL" TOOL in PSSE but it misses some of the data I need. Additionally, the ACCC post processor is not very user friendly. I am thinking to write some sort of script to extract data from .ACC file.

Thanks for your guys help!

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2019-04-30 19:20:21 -0600

jconto gravatar image

updated 2022-03-24 09:24:49 -0600

The *.acc file is a binary file and to extract its content its better to use API functions like accc_summary or accc_solution. Search the API document for "ACCC" to get what is being offered. The selection of violations is set in the MON file, which is used to create the DFX file, which is used to create the ACC file.

What data is not being reported by pssexcel.pyc or pssarrays.pyc? What kind of output data are you looking for?

A simplified code from "pssexcel_demo.py" (located in 'example' folder, PSSe installation) to export accc results from a *.acc file to excel follows:

# pssexcel_accc.py - Use of pssexcel to export ACCC results
import psse34
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   = 0.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

using acccsolution , can i get the load flow for N-1? can u answer please?

randa gravatar imageranda ( 2022-03-24 03:59:45 -0600 )edit

If the n-1 process creates a *.acc file, then yes. I prefer to use 'pssexcel'

jconto gravatar imagejconto ( 2022-03-24 09:26:42 -0600 )edit

i ve been trying to use pssexcel but the issue is it always give me the same results even if im changing flowlimit, i dont know where the errror might be, it shows me an excel with data for a flowlimit = 0.0 can you help me with this one ? , and thank you so much

randa gravatar imageranda ( 2022-03-31 00:58:40 -0600 )edit

Did you run the above code using savnw.acc? If it works for one data set, usually works for another data set. Can you recreate your *.acc file to double check for errors. Does your *.mon and *.con filse contain valid input? I can check your data set if provided.

jconto gravatar imagejconto ( 2022-03-31 09:15:56 -0600 )edit
0

answered 2019-05-01 08:27:36 -0600

cheema gravatar image

I am mainly looking for the lines which have load flow >100% and buses with certain voltage deviations, overvoltage and under voltages. I used the "Export results to excel" tool by PSSE but it missed some buses and lines with the violations. Thanks

edit flag offensive delete link more

Comments

These violation conditions are set in the monitor file (*.mon) used to create the *.dfx file, which is use in creating the *.acc files. Review the *.mon file and run again the ACCC as needed.

jconto gravatar imagejconto ( 2019-05-01 16:08:18 -0600 )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: 2019-04-30 08:39:38 -0600

Seen: 1,312 times

Last updated: Mar 24 '22