Ask Your Question

Clarck's profile - activity

2022-10-26 22:16:14 -0500 answered a question Calculating centre of inertia frequency, scaling?

Depends on the Turbine/Governor model H might be in Turbine rating ( Trat) or in machine rating MBase.

2021-11-05 10:37:54 -0500 commented answer Why there are so many ratings?

Hi, Can you please list the sequence of this 12 ratings? Thanks

2021-06-07 14:52:53 -0500 commented answer vref dynamic disturbance for REECA1

Hi all, I have the same problem. PSSE does not accept increment_vref on REECA1 model. It returns code -1. Any ideas? Thanks

2021-05-04 22:23:14 -0500 received badge  Enthusiast
2021-04-30 11:41:19 -0500 commented answer Use a .lib file on PSSE 34.6 and later

Hi, I am looking for some hints to compile user defined *.obj file and make dll. Do you have a short note for that.

2020-12-01 19:41:26 -0500 received badge  Famous Question (source)
2020-11-28 05:32:03 -0500 received badge  Notable Question (source)
2020-11-27 08:23:36 -0500 received badge  Popular Question (source)
2020-11-26 14:56:04 -0500 asked a question System inertia

I am looking for a script to calculate the system inertia in different buses in the system. I had seen a script for that but I can't find it. Can anyone help me to find it.

Thanks

2020-05-25 08:04:51 -0500 received badge  Famous Question (source)
2019-12-01 21:25:36 -0500 received badge  Notable Question (source)
2019-11-28 21:31:34 -0500 received badge  Popular Question (source)
2019-11-27 09:53:09 -0500 asked a question How VSche in SVCPLUS can be changed in dynamics simulations?

SVCPLUS is to control voltage of a remote bus continuously. How it can be changed in dynamics simulations? Which command should be used. changing it in the LF model during simulation does not work. It is variable K+25 .

Thanks

2019-11-20 06:05:38 -0500 received badge  Famous Question (source)
2019-11-15 15:13:50 -0500 received badge  Notable Question (source)
2019-11-15 12:09:32 -0500 received badge  Editor (source)
2019-11-15 12:08:38 -0500 answered a question Dyntool _outextract_data equivalent function in PSSE V34.6

Thanks Everyone, I fixed it. The problem was the Out file name in get_data() function:

class ChannelData:

def __init__(self, fileName):
    self.timeChannelName = 'time'
    temp0 = dyntools.CHNF(fileName , outvrsn = 1)
    (short_title, chanid, chandata) = temp0.get_data()
    temp = [short_title, dict(), dict()]
    temp[1] = dict(chanid).copy()
    temp[2] = dict(chandata).copy()
    self.fileName = os.path.abspath(fileName)
    self.titles = short_title.split("\n")
    self.channelNameRef = dict(chanid).copy()
    del self.channelNameRef[self.timeChannelName]
    self.channelByName = dict([(self.channelNameRef[name], name) for name in self.channelNameRef.keys()])
    self.channelData = dict()
    self.n = len(temp[2][self.timeChannelName])
    for cn in self.channelNameRef.keys():
        values = temp[2][cn]
        assert(self.n == len(values))
        x = numpy.array(values)
        if (numpy.isnan(x).any()): 
            raise Exception('NaN in channel %s' % cn)
        self.channelData[cn] = x
    self.time = numpy.array(temp[2][self.timeChannelName])
def getTime(self):
    return self.time
def readChannel(self, channelName):
    k = self.channelByName[channelName]
    return self.channelData[k]
2019-11-15 03:30:17 -0500 received badge  Popular Question (source)
2019-11-14 10:43:03 -0500 commented question Get the dynamic response in the workspace

Which version is your PSSE?

2019-11-14 10:35:04 -0500 commented answer dyntools.CHNF TypeError: sequence item 0: expected string, int found

HI , I just came across this questions and answers. Compare to Dyntools in version 33.4 , PTI has drastically changed it in version 34.6. Instead of upgrading and adding more function some of them have been deleted. Any script developed for V33 should be revised for V34.

2019-11-14 10:03:37 -0500 asked a question Dyntool _outextract_data equivalent function in PSSE V34.6

Hi folks,

Dyntools in PSSE V34.6 does not have function "outextractdata". I am trying to replace it with "CHNF" but after using function "get_data", chandata only brings the first variable (time) . How I can fix it.

Thanks