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: 494 times
Last updated: Jan 09 '19
Susbstation data retrieval APIs fail to return arrays
Return Branch data element in Actual value
Please suggest me on how to get the .seq file in PSSE
How do I retrieve all bus numbers from a slider diagram?
psse network data to excel use python
What is the inode parameter in plant_data_4?
how to use rawx_to_csv(tblname, ofile)