def __init__(self, inertia, friction, name=''): PhysicalNode.__init__(self, True, True, name, 'Rotational speed', 'Torque') self.inertia = inertia self.friction = friction
def __init__(self, mass, SCx, friction, name=''): PhysicalNode.__init__(self, True, True, name, 'Speed', 'Force') self.mass = mass self.SCx = SCx self.friction = friction
def __init__(self,name=''): PhysicalNode.__init__(self,False,True,name,'Voltage','Intensity')