PyAMS  (the software under revision)

PyAMS.Analog.Basic.VCC


The linear voltage-controlled current source VCC

Information

The linear voltage-controlled current source is a TwoPort. The right port current Ip is controlled by the left port voltage Vn via

    Ip = Vn * Gm.

The left port current is zero. Any transConductance can be chosen.

Parameters

NameDefaultDescription
Gm1Transconductance [S]

PyAMS definition

from PyAMS import Signal

class VCC:
     def __init__(self,n1,n2,p1,p2):
         self.Vn = Signal('in','potential',n1,n2)
         self.Ip = Signal('out','flow',p1,p2)
         self.Gm=1.0
         
     def analog(self): 
         self.Ip+=self.Gm*self.Vn

Documentation generated by PyAMS