Ask Your Question

vikram's profile - activity

2024-02-09 11:39:18 -0500 received badge  Famous Question (source)
2020-04-26 23:08:39 -0500 received badge  Notable Question (source)
2020-04-20 08:17:23 -0500 received badge  Popular Question (source)
2020-04-13 13:43:02 -0500 asked a question PSSE university edition terminating

All,

I downloaded a new version of PSSE university edition on my computer and installed it. When I opened the GUI, or trying to access it by python, I am getting an error

"PSSE is outdated. PSSE is terminating. It appears that the version is outdated. Please download the new version from our website..." and so on

Is anyone else getting the same error? Is there any way to fix it?

2020-02-18 16:12:10 -0500 received badge  Famous Question (source)
2020-02-12 23:31:47 -0500 received badge  Notable Question (source)
2020-02-12 09:33:43 -0500 received badge  Popular Question (source)
2020-02-11 12:02:02 -0500 received badge  Editor (source)
2020-02-11 12:01:33 -0500 asked a question python in psse gui

I know how to connect to PSSE through a python script. But I want to learn how to run python commands from PSSE GUI through their Command Line Interface.

For example, if I select "Python" in command line input, and give the command as ierr, cmpval=psspy.busdat(busnumber, 'BASE'), I was expecting to see a base value of that result. Instead, I get nothing in the Progress bar. Am I doing it wrong?

2019-09-02 09:53:11 -0500 received badge  Famous Question (source)
2019-02-17 17:39:56 -0500 received badge  Famous Question (source)
2019-02-15 00:00:44 -0500 received badge  Notable Question (source)
2019-02-14 16:42:14 -0500 received badge  Popular Question (source)
2019-02-11 13:13:19 -0500 answered a question getting latest pssbin location

Instead of using "winreg.HKEYLOCALMACHINE", use "winreg.HKEYCURRENTUSER" and instead of 'PsseInstallPath' use 'PsseExePath'. This is applicable to PSSE 34

2019-02-11 12:57:13 -0500 asked a question getting latest pssbin location

I am using the below code to get the latest possible pss version. I have Psse34 trial version installed

def latest_pssbin_location():
    import _winreg
    ptiloc = r"SOFTWARE\PTI"
    ptikey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, ptiloc, 0, _winreg.KEY_ALL_ACCESS)
    ptikeyinfo = _winreg.QueryInfoKey(ptikey)
    numptisubkeys = ptikeyinfo[0]
    vdict = {}
    for i in range(numptisubkeys):
        vernum = _winreg.EnumKey(ptikey, i)
        try:
            n = int(vernum[-2:])
            vdict[n]=vernum
        except:
            pass

    vers = vdict.keys()
    vers.sort()
    k = vers[-1]
    lver = vdict[k]
    lverloc = ptiloc + "\\" + lver + "\\" + "Product Paths"
    lverkey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, lverloc, 0,_winreg.KEY_READ)
    lverdir, stype = _winreg.QueryValueEx(lverkey, 'PsseInstallPath')
    _winreg.CloseKey(ptikey)
    _winreg.CloseKey(lverkey)

    return lverdir+r"\PSSBIN"

I am getting an error "Error 2" the system cannot find the file specified. How to resolve this?

2018-08-17 03:43:33 -0500 received badge  Notable Question (source)
2018-08-15 09:30:03 -0500 received badge  Popular Question (source)
2018-08-10 18:24:26 -0500 asked a question unbalanced fault dynamics

Hi, I am not an expert in PSSe. But I am trying to do an unbalanced fault analysis. For example, I want to do Phase A-G fault at certain fraction of line in the system and run dynamics. I also want to do other phase to ground faults and phase faults and all other line faults.

I also want to get the data such as Phase A, B, C voltages and currents as well as Positive, negative and zero sequence voltages and currents after running the unbalanced faults.

Is this possible to do it in PSSe?

2018-02-27 14:00:51 -0500 received badge  Enthusiast
2016-12-08 16:37:52 -0500 received badge  Famous Question (source)
2016-12-07 03:46:27 -0500 received badge  Popular Question (source)
2016-12-07 03:46:27 -0500 received badge  Notable Question (source)
2016-12-06 13:16:31 -0500 asked a question Export line data

How would you export line data with admittances, line connections, angle at all the buses after running a power flow, B inverse matrix by using PSSE?

2016-10-02 05:22:21 -0500 received badge  Popular Question (source)
2016-10-02 05:22:21 -0500 received badge  Famous Question (source)
2016-10-02 05:22:21 -0500 received badge  Notable Question (source)
2016-09-20 22:27:06 -0500 asked a question WECCLF command psse34

Hi,

How to use WECCLF command in PSSE 34? In the documentation it says 'The program is initiated by either entering the command WECCLF or clicking on the appropriate ICON '. So my question is where is the ICON and how to do it by command?

2016-06-23 10:49:06 -0500 commented question DC load flow admittance matrix

@Khristopher what are the other software tools that can directly give us the dc admittance matrix?

2016-06-18 01:36:19 -0500 received badge  Famous Question (source)
2016-06-17 03:43:12 -0500 received badge  Popular Question (source)
2016-06-17 03:43:12 -0500 received badge  Notable Question (source)
2016-06-16 12:48:01 -0500 asked a question DC load flow admittance matrix

Hi,

I know PSSE can export admittance matrix. But that admittance matrix is not for the DC load flow. Is there any way to get the DC load flow admittance matrix from PSSE? I know i can manipulate the admittance matrix that i get to get the DC load flow matrix but i want just the admittance matrix from PSSE. Is it possible?