PyAMS  (the software under revision)

PyAMS.Analog.Basic.CCV


The linear current-controlled voltage source

Information

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

    Vp = In * GRm.

The left port voltage is zero. Any transResistance can be chosen.

Parameters

NameDefaultDescription
GRm1Transresistance [Ohm]

PyAMS definition

from PyAMS import Signal

class CCV:
     def __init__(self,n1,n2,p1,p2):
         self.In = Signal('in','flow',n1,n2)
         self.Vp = Signal('out','potential',p1,p2)
         self.GRm=1.0
         
     def analog(self): 
         self.Vp+=self.GRm*self.In

Documentation generated by PyAMS