Ask Your Question

PSSE_ABCD's profile - activity

2018-03-20 03:20:29 -0500 received badge  Famous Question (source)
2018-03-20 03:20:29 -0500 received badge  Notable Question (source)
2018-03-20 03:20:29 -0500 received badge  Popular Question (source)
2018-03-15 10:44:34 -0500 asked a question Charging Total for each area

Hi all

Does anyone know how I can get the total system charging (BV2) per area in PSSe via python? I am trying to replicate the area totals as found in the psse report summary. Does anyone know the python code?

Also how would I get the no load charging i.e. BV2 at nominal voltage for each area.

Thanks

2018-03-14 14:52:07 -0500 received badge  Famous Question (source)
2018-03-09 18:58:02 -0500 received badge  Notable Question (source)
2018-03-09 09:44:53 -0500 received badge  Popular Question (source)
2018-03-08 21:54:01 -0500 commented answer PSSe Results to Excel: Results to different Column

Hi Thanks for the words of wisdom, any idea on how the code is suppose to look like? I have never used 2D arrays, so I have no idea where to start. Thanks again.

2018-03-08 09:52:33 -0500 asked a question PSSe Results to Excel: Results to different Column

Hi All

I have written a script that automates 25 of psse cases for load flow analysis, which then exports my results into an excel sheet. This is done via a standard loop i.e. i =1 to 25. However when I run the script: the circuit MW flow vector from my previous case (i=1) is overwritten by the second case (i=2) as it in inputting it into the same EXCEL column within my script. Is there a way to export each case (i=1 to 25) MW flow into the next available column? I could use the “a”, “b” function:

x1.set_range(2,”a”,zip(*MWflowCase1);

x1.set_range(2,”b”,zip(*MWflowCase 2);

...... ......

However this is tedious! Ideally I want to link it to my loop of i=1 to 25; so that it can be i=1 for case 1 for column A, i=2 for Case 2 for column B, i=3 for case 3 for column C etc. Thus it would look like:

                   Column A        Column B         Column C           Column D
      Circuit    Case 1 (i=1)      Case 2 (i=2)     Case 3 (i=3)    Case 4 (i=4)
          1           100                200            300               400
          2          250                 300            100               700
          3           50                 100             75               25

Can anyone help or give guidance?

Thanks in Advance

2018-03-07 14:23:55 -0500 received badge  Famous Question (source)
2018-03-05 05:16:27 -0500 received badge  Famous Question (source)
2018-02-27 12:45:53 -0500 received badge  Notable Question (source)
2018-02-27 00:02:48 -0500 received badge  Enthusiast
2018-02-25 18:55:45 -0500 received badge  Popular Question (source)
2018-02-24 23:34:46 -0500 received badge  Notable Question (source)
2018-02-23 23:57:05 -0500 asked a question Loadflow Automation

Hi I have over 48 load flow dispatches to analyse of various generation & load profiles, and I would like to automate the run in one go by looping all the cases in my folder. At the moment the cases are in separate .csv files, and I have manage to automate one simulation and export the results. At the moment for every dispatch case I have given a number i.e. G1.csv & D1.csv all the way to G48.csv & D48.csv in my folder. How do I automate it this? or loop it through my folder ? Any existing python code you can share will be the ultimate help.

Thanks

2018-02-23 23:57:05 -0500 received badge  Taxonomist
2018-02-23 15:20:21 -0500 received badge  Popular Question (source)
2018-02-22 05:38:36 -0500 asked a question Voltage Check Report to Excel

Hi All

Does anyone have a python script which extracts the buses and their voltages which are outside +/- 5% and exports them to excel after doing a load flow?

Thanks

2018-02-22 05:37:11 -0500 asked a question PSSe Report to Excel

Hi All

Does anyone have a python script which extracts the buses which are outside +/- 5% and exports them to excel after doing a loadflow?

Thanks

2016-09-17 23:05:33 -0500 received badge  Famous Question (source)
2016-09-17 23:05:33 -0500 received badge  Notable Question (source)
2016-09-17 23:05:33 -0500 received badge  Popular Question (source)
2015-08-18 19:12:51 -0500 received badge  Popular Question (source)
2015-08-18 19:12:51 -0500 received badge  Notable Question (source)
2015-08-18 19:12:51 -0500 received badge  Famous Question (source)
2015-08-18 15:05:03 -0500 asked a question Conversion of slider file to other platforms

Is there a way to convert the slider file into a .drw file or any other format which can be used for other software packages. I want to export the pss/e diagram to other softwares I.e. Digsilent, etap, skm etc.

I have been drawing the network manually when ever I have to export a psse case, but it's a pain.

Does anyone have any ideas?

2015-08-17 20:57:29 -0500 received badge  Famous Question (source)
2015-08-04 09:54:27 -0500 received badge  Notable Question (source)
2015-08-03 08:52:12 -0500 received badge  Popular Question (source)
2015-07-27 02:49:28 -0500 received badge  Editor (source)
2015-07-27 02:46:30 -0500 asked a question Dynamic issue with NaN

Hi All.

I have an issue with PSS/E in refrence to applying a load model. When I apply a load model to a single SMIB, such as IEELBL or CIMWBL, my initialization fails or if it does not fail it produces a NaN error as it iterates. My generator is a simple GENCLS, so there should be no issues. If the load model is not applied, it works fine. The parameters used for IEELBL or CIMWBL are all standard. Why does this occur?, there is little information around on this. Can anyone help? I do at times get a error message "INNER LOOP NOT CONVERGED ON OUTER ITERATION" and cant not calculate slip? anyone know how to resolve this?

Thank You in advance.

2015-07-11 01:05:22 -0500 commented answer Sizing of a fixed shunt capacitor

Yes it works, thanks so much....I now have to apply it to an array.

2015-07-10 01:29:30 -0500 asked a question Sizing of a fixed shunt capacitor

Dear All

I want to size my Fixed shunt capacitor based on my loadflow: so say my Capacitor is 300 MVAr but the initial loadflow voltage is 1.05,Thus I want to re-size my MSC as Q/V^2 (almost a constant Q).

I would like to do this in python: i got to the stage of using psspy.shunt_chng of

psspy.shuntchng(153,r"""1""",i,[_f, 300.0/(voltage)**2])

but I do not know know how to obtain a single voltage value for the desired bus which in this case is 153. All I want is to obtain (recall) a numerical value for the given bus so this formula works, but I do not want to type it in.

Can someone help me? Also I would like to do this in array for a larger system but once I prove this simple calculation in python.

2015-07-07 21:45:47 -0500 received badge  Famous Question (source)
2015-07-03 10:40:42 -0500 received badge  Notable Question (source)
2015-07-01 17:44:27 -0500 received badge  Popular Question (source)
2015-06-30 04:44:36 -0500 asked a question MW & Mvar flow in Python to Excel

Hi I am new to python, and I am really enjoying my time spent on understanding its application. What is the python code for obtaining all the branch flows (MW, Mvar, loading, MVA etc) for all my circuits on my network and then exporting it to excel?

2015-02-13 04:30:22 -0500 received badge  Famous Question (source)
2015-02-13 04:30:12 -0500 received badge  Famous Question (source)
2015-02-12 04:52:45 -0500 received badge  Notable Question (source)
2015-02-12 04:33:55 -0500 received badge  Notable Question (source)
2015-02-12 01:31:40 -0500 received badge  Popular Question (source)
2015-02-12 01:26:55 -0500 received badge  Popular Question (source)
2015-02-11 02:35:39 -0500 received badge  Student (source)
2015-02-11 00:28:56 -0500 asked a question How to add a extra digit on the bus numbers in PSS/E

How easy would it be to create a python script to simply add a sixth number to all bus bars in a given network? For exampleI I have “bus 101” and I would like to have “Bus 100101” but ensuring we have all branches, Transformers, load generators being updated as well. My network has 2000 bus bars, and when I copy and paste the new numbers in the old fashioned way, I get into allot of issues-. Does anyone have a code or existing script which does this?

Thanks in advance.

2015-02-11 00:24:54 -0500 asked a question How to add a extra digit on the bus numbers

How easy would it be to create a python script to simply add a sixth number to all bus bars in a given network? For example we have “bus 101” and I would like to have “Bus 100101” but ensuring we have all branches, Transformers, load generators being updated as well. What will the code be, and is there an existing script for it.