First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
2019-10-03 10:17:59 -0500 | received badge | ● Nice Answer (source) |
2018-07-28 13:29:22 -0500 | commented question | Does anyone know of any projects attempting to visualize the results of contingency analysis? |
2018-07-28 13:28:51 -0500 | answered a question | Does anyone know of any projects attempting to visualize the results of contingency analysis? Check out this post: https://psspy.org/psse-help-forum/que... |
2017-12-26 09:50:35 -0500 | answered a question | Question about retrieving ACC results using python In your PTI\PSSE33\EXAMPLE folder, check out the accc_reports.py program. Check out their use of psarrays.accc_summary where they iterate through the element labels that correspond with the accc_solution function. |
2017-04-28 17:09:57 -0500 | commented answer | get id from selected branch mydoc = sliderPy.GetActiveDocument() |
2017-04-28 17:02:21 -0500 | answered a question | Print individual contingencies to sliders I don't think you can write a python script to print ACCC results on a slider for multiple contingencies. If you're looking to create a slider-like graphical report for different contingencies, you could write a python script that populates PowerPoint slides with labeled objects (lines that represent buses, branches) that are customized for each contingency. Here's something to get you going: |
2017-01-22 23:12:16 -0500 | commented answer | Interacting with PSSE GUI This answer extracts the label information to identify buses. A better solution using the getmapstring function in sliderpy is shown in the "get id from selected branch" question. |
2016-12-09 14:10:38 -0500 | commented answer | get id from selected branch Thanks, works perfect. I added .split() to be able to cleanly reference each returned item. |
2016-12-09 14:08:51 -0500 | received badge | ● Supporter (source) |
2016-12-08 16:35:42 -0500 | received badge | ● Notable Question (source) |
2016-12-08 16:35:42 -0500 | received badge | ● Famous Question (source) |
2016-12-08 16:35:42 -0500 | received badge | ● Popular Question (source) |
2016-12-07 10:40:20 -0500 | asked a question | get id from selected branch Using slider.py, I've been reading the labels to identify selected bus numbers and branches. How do I get the branch id of a selected branch? This is especially pertinent when I have parallel branches. |
2016-08-17 09:20:56 -0500 | received badge | ● Taxonomist |
2016-05-09 21:12:33 -0500 | marked best answer | WxPython crashing PSSE I'm running the code below using the run macro button on the toolbar in PSSE 32. It runs fine the first time. I close the window and run it again. When I close it this time, PSSE says it has encountered an error and needs to close. It seems as if the first time, there was something left running that conflicts with the second request. Is there something I need to do to effectively close the python script? Some sort of garbage collection? |
2015-09-02 09:34:07 -0500 | answered a question | How to list which buses are connected to THIS bus? You can use the psspy.nxtbus function to find the next bus. Here's some code that may help:
|
2015-07-10 15:56:14 -0500 | answered a question | Sizing of a fixed shunt capacitor Sounds like you just need to get the bus voltage for a bus. To get the voltage in pu for bus 153, use the following code: |
2015-04-28 09:01:55 -0500 | received badge | ● Editor (source) |
2015-04-28 09:01:04 -0500 | answered a question | branch loading The brnflo method will return MW and MVAR for a branch with sign according to first bus to second bus. The branch ID must always be in single quotes. To see the result, use |
2015-01-30 07:29:08 -0500 | received badge | ● Famous Question (source) |
2015-01-28 08:55:35 -0500 | received badge | ● Notable Question (source) |
2015-01-28 00:50:22 -0500 | received badge | ● Popular Question (source) |
2015-01-26 13:28:54 -0500 | asked a question | Respond to GUI load flow results The goal is for a user to have a notification if certain conditions exist after running a load flow in the gui. Could you open the gui with python and monitor a bus while the user uses the gui to modify system configurations and run load flows? Or can the gui start a script whenever is opened? Can a python script monitor load flow results initated through the gui? If the condition was found, the python code (or wxpython) would notify the user and create a report. If not, a WxPython program that resembles the gui could be created so that all gui actions are accesible but that sounds like a lot of work. Anyone created a PSSE gui clone in WxPython? |
2014-07-08 09:37:37 -0500 | answered a question | How to make a conditional statement based on PSSE output file? Here's code that reads the PSSE output file and evaluates the data for a specific condition. |
2014-06-12 12:03:31 -0500 | asked a question | Plot dynamic results with multiple scales I'm trying to plot dynamic results to a Word document using the dyntools library where the channels have different voltage scales. The optnchn parameter allows a yscale but it's not clear how to specify yscales for different channels. If optnchn is omitted, the default scales are used. Plotting the defaults does show that the chart has multiple scales (although only one scale is labeled). I would like channel 301 to have a scale of 0 to 1.5 and channel 2 to have a scale from 50 to 150. |
2014-04-30 17:34:04 -0500 | answered a question | where can I find information about psspy? PSSE comes with an API manual that contains all the psspy functions. Search for API.pdf in your PTI installation folder. Mine is found at C:\Program Files (x86)\PTI\PSSE32\DOCS\PSSEAPI. |
2014-04-11 17:23:02 -0500 | commented question | Contingency A, B & C I guessing it's the results using Rate A, Rate B, and Rate C for the equipment. |
2014-02-13 19:26:14 -0500 | received badge | ● Enlightened (source) |
2014-01-09 18:32:05 -0500 | received badge | ● Good Answer (source) |
2014-01-09 09:45:52 -0500 | received badge | ● Nice Answer (source) |
2014-01-06 16:43:51 -0500 | received badge | ● Necromancer (source) |
2014-01-06 16:43:51 -0500 | received badge | ● Teacher (source) |
2014-01-06 11:27:17 -0500 | answered a question | Interacting with PSSE GUI It can be done using the sliderPy library |
2013-12-31 22:28:09 -0500 | received badge | ● Student (source) |