SLD development
I am working on Single line diagram(SLD) development using python.And i need to know know the locations of buses. ANYONE can tell me the Command to extract "bus laocation" from the .sav file. REGARDS..!!
I am working on Single line diagram(SLD) development using python.And i need to know know the locations of buses. ANYONE can tell me the Command to extract "bus laocation" from the .sav file. REGARDS..!!
You need to invesigate the sliderPy module which is bundled with PSS/E.
import psspy
import sliderPy
doc = sliderPy.GetActiveDocument()
diag = doc.GetDiagram()
for c in diag.GetComponents():
pos = c.GetPosition()
compType = c.GetComponentType()
if compType == sliderPy.ComponentType.Symbol:
sym = c.SldSymbol()
symType = sym.GetSymbolType()
print '\nID:{0}: map:\'{4}\' type{1} X:{2} Y{3}'.format(c.GetID(), symType, pos.GetX(), pos.GetY(), c.GetMapString())
whit loves you. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
Do you need to know the x and y location inside the sld file?
Yes Exactly..Can you suggest me the method for this?