First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
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 it seams like a lot of hassle for something that you quite easily can get printed in an output report in .txt or in the PSS/E or python console. Shouldn't there be a command for it?
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 alot of help for me to learn the psspy module as well as python, thanks!
2 | No.2 Revision |
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 it seams like a lot of hassle for something that you quite easily can get printed in an output report in .txt or in the PSS/E or python console. Shouldn't there be a command for it?
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 alot of help for me to learn very helpful in teaching the psspy module as well as python, thanks!
3 | No.3 Revision |
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 it seams like a lot of hassle for something that you quite easily can get printed in an output report in .txt or in the PSS/E or python console. Shouldn't there be a command for it?
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!
4 | No.4 Revision |
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 it seams like a lot of hassle for something that you quite easily can get printed in an output report in .txt or in the PSS/E or python console. Shouldn't there be a command for it?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!