How to get ACCC violations output in python list?
I'm new to both PSS/E and Python but I'm starting to get the hang of it.
I'm doing several ACCC studies and I want to import my results from the different scenarios into different sheets according to what is being monitored, ie. all low voltage violations for all scenarios in one sheet, one sheet with all overloaded lines etc. To do this I want to have my violations for my scenarios in lists so I can plot the using excelpy. I'm a bit surprised that something which is fairly easy to get in an output report in PSS/E or in .txt is so much more work to get into a python list so you can plot it the way you want instead of using methods like pssexcel.
Question 1) Is there a good way to extract your flow/voltage violations from psspy.accc_solution or any other command? I'm reading through the API and I'm trying to use some of the code used in for example: "Help Refining Multiple ACCC Excel Report" but I can't find any commands or anything to do that.
Question 2) Is there a way of getting the voltage deviations from an .acc-file without subtracting pre-contingency bus voltage with post-contingency bus voltage?
Question 3) Right now I'm deciding whether to try and extract these result from a .txt file or try and import PSS/E results directly into a list (for example using accc_solution), but which way is more convenient/easier?
On a side-note: This forum has been very helpful in teaching the psspy module as well as python, thanks!
Thanks for your answer Shengen. However mvrecmax/min only shows the limits I have put in the .mon file ex: Vmax = 1.10, that is what will show up for all the buses. .mvbuslabel shows the names of the monitored buses so it doesn't really give me any values of voltage deviations for different buses.