PyAMS  (the software under revision)

PyAMS.Analog.Basic.VCV


The linear voltage-controlled voltage source VCV

Information

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

    Vp = Vn * G.

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

Parameters

NameDefaultDescription
G1Voltage gain

PyAMS definition

from PyAMS import Signal

class VCV:
     def __init__(self,n1,n2,p1,p2):
         self.Vn = Signal('in','potential',n1,n2)
         self.Vp = Signal('out','potential',p1,p2)
         self.Gain=1.0
         
     def analog(self): 
         self.Vp+=self.Gain*self.Vn

Documentation generated by PyAMS