Revision history [back]
Use the subsystem_info function described here. The full listing is available here. This little function saves you the bother of distinguishing lines from transformers. This is how I use it:
branchinfo = subsystem_info('brn', ['FROMNUMBER', 'TONUMBER', 'MVA', 'P'], sid=1)
#print branchinfo
trfinfo = subsystem_info('trn', ['FROMNUMBER', 'TONUMBER', 'MVA', 'P'], sid=1)
#print trfinfo
Hope that helps.
Use the subsystem_info function described here. The and the full listing is available here. This little function saves you the bother of distinguishing lines from transformers. This is how I use it:
branchinfo = subsystem_info('brn', ['FROMNUMBER', 'TONUMBER', 'MVA', 'P'], sid=1)
#print branchinfo
trfinfo = subsystem_info('trn', ['FROMNUMBER', 'TONUMBER', 'MVA', 'P'], sid=1)
#print trfinfo
Hope that helps.
