Ask Your Question

likethevegetable's profile - activity

2024-03-08 10:43:41 -0500 received badge  Taxonomist
2022-09-07 22:22:23 -0500 marked best answer Open PSS/E GUI and SAV file from Powershell/cmd?

It is possible to open the PSS/E GUI and a SAV file with one command?

For example, something like this (it doesn't work):

"C:\Program Files (x86)\PTI\PSSE33\PSSBIN\psse33.exe" "C:\Program Files (x86)\PTI\PSSE33\EXAMPLE\sample.sav

As another question; is it possible to take an instance of PSS/E that is running in Python, and open the GUI and maintain the state?

2022-03-24 08:52:57 -0500 received badge  Favorite Question (source)
2021-12-17 18:37:24 -0500 commented question Reactive power control

Generators control voltage. They will put out whatever Mvar is needed to control a voltage. Sounds like you want to control Mvar and voltage independently, but they are dependent on eachother..

2021-11-24 18:50:47 -0500 commented question PSSE Crashing/can't find python

Spyder is just an IDE, Anaconda is a "batteries included" Python distro. Be sure that then Python version that Anaconda uses is compatible with your version of PSSE. You might need to install Anaconda in a very specific folder for PSSE to find it, or play around with the PSSE environment manager.

2021-11-24 18:50:32 -0500 answered a question PSSE Crashing/can't find python

Spyder is just an IDE, Anaconda is a "batteries included" Python distro. Be sure that then Python version that Anaconda uses is compatible with your version of PSSE. You might need to install Anaconda in a very specific folder for PSSE to find it, or play around with the PSSE environment manager.

2021-11-08 19:35:04 -0500 commented question How to acquire the data like the total accelerating power when running dynamic simulation ?

Inertia constant is in dynamics model. You get get Pmech, Pelec, and speed deviation and angle in the channels.

2021-11-08 19:17:45 -0500 commented question Close Dynamics in PSS/E

I just call another psseinit. Have ran hundred of dynamics with one script and no issues.

2021-10-23 20:08:09 -0500 answered a question Has anyone checked the damping ratios from the channels in the .out files?

Sure have and sure do.

2021-09-04 11:21:09 -0500 received badge  Famous Question (source)
2021-09-01 02:18:04 -0500 received badge  Notable Question (source)
2021-08-31 01:43:34 -0500 received badge  Popular Question (source)
2021-08-30 15:14:05 -0500 commented answer Getting current time in dynamics simulation?

Ah, I was looking in the wrong section. Thank you.

2021-08-30 14:25:19 -0500 commented question Python on PSSE :need mentor to learn that

http://www.whit.com.au/blog/2011/07/run-psse-from-python-and-not-other-way/ Read this and build on from there and the API manual.

2021-08-30 13:21:22 -0500 commented question Changing the Generation during Dynamic Simulation

You want to change the power while running the dynamic simulation, or before? Do you want to do this in the GUI or with Python? Read the API manual. `ierr = psspy.increment_gref(ibus, id, newval)`

2021-08-30 11:34:25 -0500 asked a question Getting current time in dynamics simulation?

Is there a Python API to get the current time in the dynamics simulation? Perhaps 'time' exists as a STATE in the simulation, and I could retrieve that? I know it exists in the OUT file.

I figured this would work, but this function only returns IERR.

ierr = psspy.dlst(5, 5, 0, 0) # 5=0ut

EDIT: Perhaps I need to access the current out file in the case and get the last element in the time array. I could definitely attempt this by loading dyntools, but I'm still wondering if I can do this through psspy more elegantly.

2021-08-28 21:26:03 -0500 commented question Dynamic simulation: oscillations without disturbance applied

How big are the oscillations? What are the d-states?

2021-08-24 10:25:22 -0500 commented question Library not found (000281)

Have you started PSS/E in the same directory as the DLL files? For the study packages I use, this is required.

2021-08-24 10:24:25 -0500 commented question changing P load

What do you mean nan data? You should provide more info.

2021-07-29 21:39:44 -0500 commented answer What is X Source in Generator Model ?

Fair enough, if you're looking at a fault near a generator. Otherwise It would be close enough.

2021-07-29 20:51:52 -0500 commented answer What is X Source in Generator Model ?

How else would the generator impedance be modelled for short circuit contribution?

2021-07-29 10:23:02 -0500 commented answer What is X Source in Generator Model ?

It's also used in short circuit calculations.

2021-07-15 11:51:05 -0500 commented question MPjobs tool for PSSe runs in Parallel

Very cool, thanks for sharing. I may borrow some these concepts and incorporate them into my own tools.

2021-07-13 20:17:08 -0500 commented answer export the data of batch dynamic simulations

Haven't seen demo. Do you have a demo version of PSSE?

2021-07-13 19:49:29 -0500 commented question Bode diagram (PSS E/ NETOMAC)

You don't need to upload an image to tell us what the error is

2021-07-13 19:47:34 -0500 answered a question export the data of batch dynamic simulations

Google is your friend, my friend.

https://psspy.org/psse-help-forum/que...

chnfobj = dyntools.CHNF('your path to the .outx file') short_title, chanid, chandata = chnfobj.get_data()

chanid and chandata are Python dictionaries with key set to channel number.

2021-07-05 20:50:25 -0500 commented question Bode diagram (PSS E/ NETOMAC)

It would help to show which error you're getting.

2021-03-30 08:16:00 -0500 answered a question how to add pip or numpy to python 2.7?

Pip should be installed by default. Go to the command line, type Python, and it should give you some message saying either Python 2.7.x, some other version, or that Python is not in path.

If 2.7 is found, type this in command line:

python -m pip install numpy

Otherwise

"C:\yourpathto\python.exe" -m pip install numpy

Where yourpathto is changed according to your setup.

2021-03-24 08:47:21 -0500 commented question How to run psse from tkinter

Since the user will have PSSE installed, they would also have python--perhaps an easier solution would be to make a portable virtual environment (with tkinter and whatever else you need) and share your proprietary scripts as .pyc file.

2021-03-23 15:03:59 -0500 commented question How to run psse from tkinter

Just an FYI, if you're using PyInstaller, I recommend avoiding using an Anaconda installation, the resulting exe will be far too large and you're likely more error-prone. Think about it from PTI's perspective: they wouldn't want you distributing it so others could use without a license.

2021-03-19 06:55:51 -0500 commented question How to run psse from tkinter

In the past, I've tried wrapping psspy into an .exe as an experiment without success. I imagine for intellectual property reasons, it's going to be very difficult. What's the intent of wrapping it in an exe? Perhaps a halfway solution could be to make the GUI without of psspy and call a py process

2021-03-16 09:16:20 -0500 received badge  Famous Question (source)
2021-03-12 00:52:09 -0500 received badge  Notable Question (source)
2021-03-11 19:23:58 -0500 received badge  Popular Question (source)
2021-03-09 10:08:58 -0500 asked a question Would an increase in inertia affect short circuit capacity?

I'm having a discussion with a colleague. All things equal, except increasing the mass of a generator such that the inertia increases, would the sub-transient short circuit capacity increase as well?

2021-02-19 10:13:07 -0500 commented question Transfer limit of a transmission tie

Yes a misc user model could do it, but the question is *how* do you want to curtail it? As ffl pointed out, a PST would do the trick, but that isn't the only way.