Module circ :: Class ISrc
[frames] | no frames]

Class ISrc

Component --+
            |
           ISrc

Instance Methods
 
__init__(self, i, n1, n2)
 
getEquation(self)
 
__str__(self)

Inherited from Component: getCurrents

Instance Variables
  current
Name of the current variable for this component
Method Details

__init__(self, i, n1, n2)
(Constructor)

 
Parameters:
  • i - current, in Amperes (number), flowing from n1 to n2
  • n1 - name of node at one end of the current source (string)
  • n2 - name of node at the other end of the current source (string)