First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
2023-04-20 16:56:21 -0500 | answered a question | shift factor
Shift factor is the difference in flow divided by the load/gen change. sf = (MW1 - MW2) / (load [or gen] change) The signs matter as shift factor may be negative or positive. Example: If you have 100 MW flowing on a line, and you add 1 MW of generation at a particular bus. You now have 100.23 MW flowing on the line, the shift factor is (100.23 - 100) / 1 = 23%. |
2023-04-20 16:34:40 -0500 | commented question | Initial Conditions Suspects Have you checked the log file for warnings on the CMLD models? These types of messages may exist: At bus 4, CMLD load bus voltage of 0.9471 pu is below 0.95 minimum. Original feeder Z of 0.2295 +j 0.2295 pu on SBASE will be reduced in an attempt to bring V up above 0.95 pu |
2023-04-19 19:40:57 -0500 | answered a question | Initial Conditions Suspects Start with a problem and try to isolate it. You can disable the other models to get it down to one DSTATE issue. In the GGOV1 model, find state 2 in a diagram. That’s the differential control. Check RSELECT and other parameters upstream of State 2. Change RSELECT to zero to try and isolate that circuit. Manipulate r. Check State 8. Plot it. If it’s stable, the problem is somewhere else. I hope you know some control theory. Move on to the next model. Some DSTATE issues can be tolerated. It’s not easy. Good luck. |
2023-04-19 19:18:48 -0500 | commented answer | GGOV1 model can I switch from droop to isoc mode in the simulation Can you please select the answer that worked for others to know how to fix this? |
2023-04-14 16:24:42 -0500 | commented answer | GGOV1 model can I switch from droop to isoc mode in the simulation It should work; the speed circuit should always be active and working regardless of rselect. The only other thing I would try is to set R=0 (or something small) in the psas file if possible. This should logically do the same thing. Please post if you figure it out. |
2023-04-14 09:47:31 -0500 | commented answer | GGOV1 model can I switch from droop to isoc mode in the simulation Does it work if it's initialized in ISOC mode? |
2023-04-14 08:57:51 -0500 | answered a question | GGOV1 model can I switch from droop to isoc mode in the simulation I can't say I know much about GGOV1, but you can change the Rselect or any other ICON with BATCHANGEPLMODICON. will change RSELECT to '0' inside a PSAS file. |
2023-04-14 08:42:00 -0500 | commented answer | creating a new bus ChatGPT is better suited to help you with your homework. |
2023-02-28 22:01:36 -0500 | answered a question | when it's a good idea to use Prony analysis? It’s good to use Prony Analysis if your angle damping rate is difficult or impossible to read. Some areas can have multiple generators swinging together with different damping rates and natural frequencies. The superposition of these swings can yield rotor angles that don’t resemble a damped sine wave. Prony is a method to decompose the angles into individual damped (ideally) waves with a damping rate for each each component. |
2023-02-19 18:53:20 -0500 | answered a question | create snap file snp There should be some documentation in this. 1. Load the sav case. 2. Convert the loads and generators. 4. You can save the converted case. 5. Load the dyr file. 6. Initialize the case. 7. You can now save the .snp file. This saves the initialized snapshot before any simulation has occurred. This is brief. There are tutorials on YouTube. I would look for a tutorial walking you through using the savenw file provided as an example with PSSE. |
2022-11-09 06:15:48 -0500 | answered a question | How to use psspy inside a function?? Another option is to pass psspy into the function: |
2022-06-13 06:05:56 -0500 | commented question | I need information about how to create a model for a steel factory by pss/e and running harmonic data from it? I would look at doing an EMTP model with PSCAD or something similar. |
2022-05-05 19:54:05 -0500 | answered a question | Voltage Negative Sequence in dynamic studies The dynamic models are positive sequence only. It's possible to run unbalanced fault (at least SLG), but PSSE still only simulates the positive sequence. You cannot read negative sequence values because they aren't simulated. I assume short-circuit analysis simulates negative and zero sequences. The detrimental effects of negative sequence happen during a fault. I would use short-circuit analysis and known breaker timings. |
2022-05-05 19:28:19 -0500 | answered a question | dyntools.CHNF() causes python to crash. Help! Try this: It runs in a subprocess and doesn't collide with psspy. Note that there is no p.join() function; it hangs indefinitely. There is probably a way to garbage collect or pass data rather than the chnf obj back. But this works for me. |
2021-07-01 21:25:34 -0500 | received badge | ● Enthusiast |
2021-06-23 20:04:20 -0500 | answered a question | Understanding dynamic models The WECC has pretty good resources on the internet. Also googling these models will help find other sources. Dynamics and controls books can help with fundamentals. |
2021-06-23 20:01:06 -0500 | answered a question | Are there any methods to improve the speed of batch dynamic simulations? 0.01s seems long. We run 1/4 cycle time steps. |
2021-06-23 19:58:27 -0500 | answered a question | How do I capture skipped contingencies in contingency analysis automation? Parsing the log file is probably the best way. Also you will end up with zero length .out files that may also be used to detect such a condition. Be advised, some simulations may halt and not terminate causing your script to hang up. I use python multiprocessing to launch each dynamics run in its own process. While running, I monitor the file sizes of the .out and .log files. If they stop growing larger and the case is still running, it gets terminated. An ever increasing size of these two files means it’s still working. |
2020-12-07 11:44:47 -0500 | answered a question | Running "Compile" and "Cload4" from python Try this: |
2020-12-07 11:11:09 -0500 | answered a question | Retrieving bus numbers in order of connection Just an idea, the attached code can be run in PSSE to get the shortest path between two buses. If you use your slack bus as one, and the queried bus as the other, the length of the result will be your path length. It is feasible to step through your buses and save the path lengths for each and sort. It is computationally expensive however. (more) |
2020-12-07 10:56:25 -0500 | answered a question | how do you run multiple dynamic contingency idevs using python The way we do it is complicated but bulletproof. In short, use the multiprocessing Module to run the simulations. You will need to put your run script into a function so that you can pass that function to multiprocessing. Please see the code below. The .Process() function starts the simulation by passing the next faultidev to the Function rundynsim(). I have a 28 core machine, so I load up 36 processes and let the multi-threading engine handle the balancing. This is set with the numprocesses Variable. If you want to run sequentially, you can use numprocesses=1. To answer the main part of your question, running them in separate processes allows you to check and see if they are still working. If not, terminate them and move on. Some of mine can take more than 30 minutes to complete. See the function below. The gist of it is to check the length of the log file and out Files; and if they aren't changing, terminate the process. The os.stat Functions make a call to get file sizes. These get stored and compared with the next stalled process check. This gets run every minute, so hung processes will be terminated within about three minutes. (The allowed number of stalls below is set to one, so it will terminate a minute after detection.) (more) |
2020-09-04 21:47:00 -0500 | answered a question | what is the best way to get started in PSSE, Python? This is how I do it: Assuming you can run Python programs currently and you want to run from the command line. I can't post links, so I had to change this to be more complicated. There is a clever way to put the bulky path stuff in the beginning into a library. This should work with PSSE 33 or 34. Modify with filenames and try and run this code, preferably from one of the Command Line file links provided by PTI with PSSE (in the PSSE34 Folder on the Start Menu): If it works, use the API in the documentation to build your own code. You will likely get an error if you don't have certain Python packages installed. You will need to install these using PIP. (Google 'pip install'.) You can also use the Recorder in the GUI to build .py code like you would .idv files. |
2020-06-01 08:08:16 -0500 | answered a question | Short circuit equivalent generator You should know at a minimum the system contribution to three-phase faults (magnitude and angle) and line-to-ground faults. With these, you can use what's in a power system analysis book to derive what you need. You also should consider transient and sub-transient responses and some way to optimize other model parameters to reflect that of the system you're modelling. |
2020-06-01 08:00:13 -0500 | answered a question | REPCTA1 model in PSSE There should be a documentation folder with PSSE or in the Start Menu. What you are looking for is in there. |
2019-10-30 21:38:09 -0500 | commented question | Philosophy for choosing channels to plot Pro tip: Match the colors so the same bus has the same colors for different plots such as angle and voltage. It may be difficult. |
2019-10-30 21:36:16 -0500 | commented question | Philosophy for choosing channels to plot 1. Save an uninitialized snapshot then code the channel additions with chsb after you load the snapshot. When complete initialize then run your case. 2. Use matplotlib manual and automatic plot functions to get it like you want it. From experience, about 10 plots per page is reasonable. |
2019-10-22 19:42:15 -0500 | commented answer | dyntools.CHNF TypeError: sequence item 0: expected string, int found By the way, when things to do with file access abruptly stop working, it’s often a file permissions issue. I don’t know about your situation but just a thought. |
2019-10-22 19:20:25 -0500 | received badge | ● Editor (source) |
2019-10-22 19:19:32 -0500 | answered a question | dyntools.CHNF TypeError: sequence item 0: expected string, int found It says sequence item 0 which may be the first argument. I think there’s an issue with setting outfile higher in the code. Check the variable type of it, should be string like it says. I think outvrsn looks fine for 33.12. |
2019-07-07 08:43:52 -0500 | answered a question | Are there any models in PSSE which can model nuclear generators? Since the steam source is not modeled in PSSE, use typical steam turbine/governor models. If your unit is a cross compound type it will be a little trickier, and you’ll need to research or post this question separately. If your unit runs with no governor or a valves-wide-open mode, then you may remove the governor model in some cases. |