Data Retrieval aBusTypes, aMachType
Dear All,
Could any one please provide me with an example of these kind of routines: aBusTypes, aMachType, ...? I could not get any one of these successfully executed.
Thank you
First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
Dear All,
Could any one please provide me with an example of these kind of routines: aBusTypes, aMachType, ...? I could not get any one of these successfully executed.
Thank you
Example 1:
ierr, types = psspy.abustypes('TYPE')
will return 0 ['I']
since 'TYPE' is a valid string to API abusint.
Example 2:
ierr, types = psspy.abustypes(['TYPE','PU','VOLTAGE','EXNAME'])
will return 0 ['I', 'R', 'X', 'C']
since the arguments are valid strings to API abusint, abusreal, abuscplx and abuschar respectively.
Example 3:
ierr, types = psspy.abustypes(['TYPE','PU','VOLTAGE','EXNAME','XXX'])
will return 5 [None, None, None, None, None]
since argument 'XXX' is not a valid string to API abusint, abusreal, abuscplx or abuschar. I.e., all supplied strings must be valid!!! The error code is 5 here since it is the fifth element in the list that contains the wrong string.
Asked: 2018-12-30 02:48:26 -0500
Seen: 516 times
Last updated: Jan 09 '19
Susbstation data retrieval APIs fail to return arrays
Distribution factor data file(.dfx)
how to use rawx_to_csv(tblname, ofile)
Import PowerFactory model into PSS/E 34
Seeking Assistance with Understanding .dyr File Values for Synchronous Machines
How to acquire the data like the total accelerating power when running dynamic simulation ?
How do I retrieve all bus numbers from a slider diagram?