def __init__(self,owner='sim',EMS=EMSolver(),PN=False): nx.MultiDiGraph.__init__(self) self.owner=owner self.RAT={} self.LDP = ['TOA','Pr'] self.SubNet={} self.EMS=EMS self.coll_plot={} self.pos={} self.mat={} self.link={} self.relink={} self.idx = 0 self.lidx = 0
def create_EMS(self): """ create electromagnetic Solver object """ self.EMS = EMSolver(L=self.L)