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 -0600
Seen: 522 times
Last updated: Jan 09 '19
Susbstation data retrieval APIs fail to return arrays
What is the inode parameter in plant_data_4?
How do I read the Impedance Correction Table data?
Change Load during Dynamic Simulations
Import PowerFactory model into PSS/E 34
Seeking Assistance with Understanding .dyr File Values for Synchronous Machines
Exporting data to Excel without using Python