PyAMS  (the software under revision)

PyAMS.Analog.Basic.CCC


The linear current-controlled current source CCC

Information

The linear current-controlled current source is a TwoPort. The right port current ip is controlled by the left port current in via

    Ip = In * G.

The left port voltage is zero. Any current gain can be chosen.

Parameters

NameDefaultDescription
G1Current gain

PyAMS definition

from PyAMS import Signal

class CCC:
     def __init__(self,n1,n2,p1,p2):
         self.In=Signal('in','current',n1,n2)
         self.Ip=Signal('out','current',p1,p2)
         self.G=1.0
         
     def analog(self): 
         self.Ip+=self.G*self.In

Documentation generated by PyAMS