First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
2018-05-12 14:47:33 -0500 | received badge | ● Famous Question (source) |
2018-04-03 12:27:43 -0500 | received badge | ● Notable Question (source) |
2018-03-28 19:34:12 -0500 | received badge | ● Popular Question (source) |
2018-03-26 00:03:52 -0500 | commented answer | How to get branch power flow and their bus numbers. Thank you!! |
2018-03-26 00:03:46 -0500 | received badge | ● Scholar (source) |
2018-03-22 02:20:05 -0500 | answered a question | Dyntools Overwrite Excel Sheet I think that this overwritesheet = true option will overwrite latest sheet if it is called more than once during simulation. In my case, I am re running the script rather than using the dyntools command more than once in the same script. To overcome this, I check for and delete existing excel file in directory by adding the following code just before using dyntools.CHNF.xlsout(..) |
2018-03-21 19:44:01 -0500 | asked a question | Dyntools Overwrite Excel Sheet Hello, I am using dyntools to output data to excel. dyntools.CHNF.xlsout(xlsresult, channels=[], show=False, xlsfile=xlsoutput, outfile=outfile, overwritesheet = True) This is the code I am using, I believe that overwritesheet = True should overwite sheet1 every time I run the script. I currently need to delete the old excel sheet every time I re run my script or else the excel workbook will create new sheets of the same data, which causes the file to become huge. What should I do? Thanks |
2018-03-16 19:23:23 -0500 | received badge | ● Famous Question (source) |
2018-02-23 00:10:02 -0500 | received badge | ● Famous Question (source) |
2018-02-23 00:10:02 -0500 | received badge | ● Notable Question (source) |
2018-02-14 23:31:50 -0500 | received badge | ● Notable Question (source) |
2018-02-14 23:31:50 -0500 | received badge | ● Popular Question (source) |
2018-02-13 19:34:37 -0500 | received badge | ● Popular Question (source) |
2018-02-13 17:04:32 -0500 | answered a question | Updating geographical bus locations not working. Found out that this is an issue in version 34.3.0 and was fixed in 34.3.1 Also, there is an option under [Edit->Preferences...], [Diagram] tab, [Case - Diagram Interactions] tab, [Use available Geophysical Information when auto-placing items]. Make sure this option is checked when working with location files. |
2018-02-13 04:36:27 -0500 | commented answer | How to get branch power flow and their bus numbers. Definitely agree with you. However, using aflowint to return from/to bus number's seems to give the bus numbers in a random order, i.e. using aflowreal will give you (1, 2, 3, 4) however the bus numbers returned from aflowint will be (d, c, a, b). Is there a way to appropriately link the two? |
2018-02-12 18:18:28 -0500 | asked a question | How to get branch power flow and their bus numbers. Hello, I am using the API command psspy.aflowreal to get active power flow of branches in a subsystem. Problem is, using this command does not indicate which value belongs to which 'to and from' bus number. For example, aflowreal returns: [10, -9, 20, -21, 30, -29] Where I'm trying to get: [ [10, (bus1, bus2)], [-9, (bus2, bus1)], [20, (bus2, bus3)], .... ] Does anybody have an idea of how I can implement this in my script?? Thanks!! |
2018-02-06 17:43:39 -0500 | asked a question | Updating geographical bus locations not working. My main goal is to create an SLD for an area (NSW for example), and update buses and branches based on their geographical location. Currently, my steps to achieving this are as follows:
Im testing this method by creating an sld of around 5 buses and then exporting their *.loc file. I then change a few values on the *.loc file and import it back to the same psse case. My troubles arise when I right click the SLD and click on "update geographical bus locations", where either nothing will happen, or PSSE crashes. If anybody can shed some light onto why this is happening, I'd be very thankful. |
2017-12-23 12:22:10 -0500 | received badge | ● Famous Question (source) |
2017-12-22 01:30:10 -0500 | received badge | ● Notable Question (source) |
2017-12-21 17:40:29 -0500 | received badge | ● Popular Question (source) |
2017-12-19 19:18:00 -0500 | asked a question | Storing PSSE API Functions in objects/variables Hello, Going through the API, I have noticed that there are a bunch of functions which return a value. An example of this would be the function 'abusint', where in the script, you can store something as 'bus = abusint(...)'. My question is if there is a way to do this for the functions that don't specify that they return a value. My specific case includes the fnsl function. From my understanding, calling this function executes the newton load flow study and outputs the results in the python terminal. Is there a way to store these results in my own variable so that I can reference them and store them into excel? There is a case where executing a fault study analysis and exporting the results to excel was done using the pssarrays class, (object = pssarrays.iecs_currents) and this would return an object which you could access in python and grab its results for different cases (3phase, line to line etc...) How can you do this using the API functions such as fnsl and others? Thanks a tonne in advance! |
2017-12-19 19:17:17 -0500 | asked a question | Storing PSSE data in python variables Hello, Going through the API, I have noticed that there are a bunch of functions which return a value. An example of this would be the function 'abusint', where in the script, you can store something as 'bus = abusint(...)'. My question is if there is a way to do this for the functions that don't specify that they return a value. My specific case includes the fnsl function. From my understanding, calling this function executes the newton load flow study and outputs the results in the python terminal. Is there a way to store these results in my own variable so that I can reference them and store them into excel? There is a case where executing a fault study analysis and exporting the results to excel was done using the pssarrays class, (object = pssarrays.iecs_currents) and this would return an object which you could access in python and grab its results for different cases (3phase, line to line etc...) How can you do this using the API functions such as fnsl and others? Thanks a tonne in advance! |
2017-12-13 11:31:44 -0500 | received badge | ● Famous Question (source) |
2017-11-28 20:19:18 -0500 | received badge | ● Famous Question (source) |
2017-11-27 17:06:29 -0500 | received badge | ● Notable Question (source) |
2017-11-27 15:47:11 -0500 | received badge | ● Enthusiast |
2017-11-26 21:06:49 -0500 | received badge | ● Notable Question (source) |
2017-11-26 16:02:09 -0500 | received badge | ● Popular Question (source) |
2017-11-23 18:11:26 -0500 | received badge | ● Editor (source) |
2017-11-23 16:53:04 -0500 | asked a question | Exporting Fault Currents from PSSE to Excel v34 Hi How do you export 3ph fault currents to excel. Im using: robj = pssarrays.iecs_currents(sid=sid, all=0, flt3ph=1) to run the study and store the results in the object robj. How do i get the values within this object for multiple buses, and insert them into excel just like you would for bus numbers for example... ierr, busses = psspy.abusint(sid=sid, flag=flag, "NUMBER")...... workbook.set_range(2, 'a', zip(*busses)) Thank you |
2017-11-21 21:30:16 -0500 | received badge | ● Popular Question (source) |
2017-11-19 20:21:53 -0500 | asked a question | Storing Short Circuit Analysis Data Hi, So I'm extremely new to both Python and PSSE and am trying to figure out how I can extract the fault currents for busses using Python. My end goal is to export this data to excel, however, I'm confused with how to actually store the data I'm looking for into my variables. I've been using this previous thread as a guideline. https://psspy.org/psse-help-forum/que... Where can I find the methods that the object provided in the link above ( rlst = pssarrays.ascccurrents(subsystem, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 2, 2, 1, 1, 1, '', '', '') ) contains? Thanks! |