First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
2023-02-12 13:25:47 -0500 | received badge | ● Notable Question (source) |
2023-02-10 01:47:23 -0500 | received badge | ● Enthusiast |
2023-02-09 18:22:51 -0500 | received badge | ● Popular Question (source) |
2023-02-09 08:05:58 -0500 | commented answer | Can I extract updated values after running DC Loadflow (DCLF_2)? As mentioned in the description, the Python screen printout of the dclf_2 shows updated values, so it's happening, but these aren't returned through following queries. |
2023-02-09 07:50:31 -0500 | commented answer | Can I extract updated values after running DC Loadflow (DCLF_2)? I assume this has worked for you. Maybe a version issue? I'm running 34.8.1. |
2023-02-09 07:43:09 -0500 | commented answer | Can I extract updated values after running DC Loadflow (DCLF_2)? I've tried 'PU' in busdat() for a single bus, and abusreal(), brnflo(), macdat() for swing gen updates. I've tested on a fnsl that converges too. I then alter a specific gen 'P', run DC loadflow, and no values change. I then run fnsl and values change with the gen change. Run DC after and no change |
2023-02-08 15:38:13 -0500 | asked a question | Can I extract updated values after running DC Loadflow (DCLF_2)? Hi there, Using the Python API I am running different analyses where I am retrieving line flows, etc. I am running a DCLF2 when the fnsl fails to converge. However, after running the DCLF2 and extracting values the values do not update from the previous fnsl non-convergence. The Python screen prints out the updated values (much like in the PSSE software window), but is there a way to get a hold of these DCLF_2 results? Thanks! |
2022-12-28 01:37:05 -0500 | received badge | ● Notable Question (source) |
2022-12-28 01:37:05 -0500 | received badge | ● Famous Question (source) |
2022-12-23 04:30:21 -0500 | commented answer | 2 Winding raw to psse switches from and to bus Haha. Of course it's the simplest of answers. Although, it's important to note that with 3-winding transformers, the "Last Bus Number" does not adhere to the sorting and can be greater. I'm sure the raw data explanation will come in handy too for people. Many thanks! |
2022-12-23 04:28:54 -0500 | received badge | ● Scholar (source) |
2022-12-23 01:56:16 -0500 | received badge | ● Popular Question (source) |
2022-12-22 16:56:01 -0500 | asked a question | 2 Winding raw to psse switches from and to bus Hi all, I have a raw file in the same version as my psse application (v34). When I import the raw file and view transformers, I see that the to and from bus were swapped during the import (i.e., "I" bus becomes "To Bus Number" and "J" Bus becomes "From Bus Number"). It seems to be associated with the "Winding 1 on From end" box not being checked in the Transformer window. I don't see a direct property for the the winding 1 association in the raw file. Are there specific conditions in the raw file that cause this swap to occur? Thanks for the help! |
2022-04-16 07:53:48 -0500 | received badge | ● Famous Question (source) |
2022-04-07 10:38:19 -0500 | answered a question | Voltage Mismatch with Model Blow Up A quick note: I'm currently just iterating through the generators catching their busnumber from the amachint() and associated ids from inimac() and nxtmac() to compare the voltage with a machine's regulation control bus from macint(). This is not the most computational efficient method, so any improvment suggestions would be much appreciated! |
2022-04-07 02:05:14 -0500 | received badge | ● Popular Question (source) |
2022-04-07 02:05:14 -0500 | received badge | ● Notable Question (source) |
2022-04-04 11:49:06 -0500 | asked a question | Voltage Mismatch with Model Blow Up Hi all, I'm looking to capture the voltage controlling equipment that are associated with a bus whose voltage is outside of tolerance through the API. There is the maxmsm() function that returns the worst of the bunch. However, I have a situation where turning those generators off (along with a series of other actions, which includes tolerance adjustments) to help with convergence does not work. But, there is a separate bus that has a smaller voltage mismatch does solve the problem. There is the regb() that can get the full list of mismatches, but it only performs a screen printout without storing as an output variable. I have searched the API documentation, but haven't found a function that returns a full list of the controlled buses with a mismatch. Does anyone have a function reference for me, or some other workaround? Cheers! |
2021-12-02 09:27:07 -0500 | received badge | ● Famous Question (source) |
2021-11-28 04:24:27 -0500 | received badge | ● Popular Question (source) |
2021-11-28 04:24:27 -0500 | received badge | ● Notable Question (source) |
2021-11-28 04:24:09 -0500 | received badge | ● Famous Question (source) |
2021-11-28 04:24:09 -0500 | received badge | ● Notable Question (source) |
2021-11-24 10:04:41 -0500 | received badge | ● Popular Question (source) |
2021-11-23 10:18:20 -0500 | answered a question | What is wrong with my .raw version load? Thanks! I forgot that first little psseinit() - face palm |
2021-11-23 09:51:36 -0500 | asked a question | How to read old .raw version and still converge? I am loading a v30.0 .raw file into v34.0 through the API using readrawversion(). The window outputs the details of each step of the conversion from v30.0 to v34.0. After reaching v34.0 I receive errors pertaining to the items listed below. The model then fails to converge by a significant margin. Questions are:
Error items below. A number of generators: Error: Invalid ZSORCE reactance: .00000; set to 1.00000 (002230) A number of non-xfr branches: Warn: Non-transformer branch connects buses with different base voltages (000490) A number of xfrs (with different voltage tap settings): Error: Winding one tap setting is not on a step: .963250; set to .963503 (004680) A number of interchanges: Error: Area interchange tolerance (.00000) is not positive; set to 10.0000 (000340) A number of Owners: Info: No equipment is assigned to owner 2 (002900) A number of switched shunts: Warn: Block 1 has no steps (004226) OR Error: Invalid number of steps in block 1: 65; set to 9 (004222) |
2021-11-23 02:37:44 -0500 | asked a question | What is wrong with my .raw version load? What is the error in my attempt to load the version of a .raw file through Python? int = psseobj.getdefaultint() psspy.readsubrawversion(int, "30.0", circuitpath+circuit_file, [int, int, int], int, [0.69, 500.0], int, int, int) Messages for api: READSUBRAWVERSION PSS(R)E not properly initialized (005299) 12 |
2021-11-23 02:33:29 -0500 | received badge | ● Notable Question (source) |
2021-11-23 02:33:29 -0500 | received badge | ● Popular Question (source) |
2021-11-19 03:52:32 -0500 | asked a question | Python convert .raw version Is it possible to convert the version of a .raw file through Python? I am looking for v30 to v34, but I guess it is a general question. |
2021-11-11 03:03:02 -0500 | received badge | ● Editor (source) |
2021-11-11 03:02:09 -0500 | asked a question | Can I use a saved raw file to parse for voltages and power flows Did the raw file properly save the bus voltages and line flows from the last load flow with a save as to .raw? |
2021-11-11 01:20:33 -0500 | asked a question | Raw file voltage and power flow data Raw is text and sav is binary. When opening a raw or sav file running a load flow in the GUI, altering operating states and rerunning load flow before saving as a raw file, does the raw file hold the resulting voltage and power flow changes in its output? |
2021-11-11 01:10:18 -0500 | asked a question | Raw file bus voltages and line flows Raw is text and sav is binary. When opening a raw or sav file running a load flow in the GUI, altering operating states and rerunning load flow before saving as a raw file, does the raw file hold the resulting voltage and power flow changes in its output? Or is sav the file that holds results with raw being the same base case? |