PyAMS  (the software under revision)

Bridge Diode


Bridge of diode

Parameters

NameDefaultDescription
Iss1e-12Saturation current [A]
Vt0.025Thermal voltage [V]

PyAMS definition

from PyAMS import Signal
from Diode import Diode


#Bideg of  diode
class Brideg:     
     def __init__(self,a,b,c,d):
         # Paramaters
          self.Iss=1.0e-12      #Saturation current
          self.Vt=0.025         #Voltage equivalent of temperature (kT/qn)
         # elements  
          self.D1=Diode(a,b)
          self.D2=Diode(c,b) 
          self.D3=Diode(d,c)
          self.D4=Diode(d,a)
        
     def  sub(self):
           self.D1.Iss=self.Iss
           self.D2.Iss=self.Iss
           self.D3.Iss=self.Iss
           self.D4.Iss=self.Iss
           self.D1.Vt=self.Vt
           self.D2.Vt=self.Vt
           self.D3.Vt=self.Vt
           self.D4.Vt=self.Vt

           return [self.D1,self.D2,self.D3,self.D4]

Documentation generated by PyAMS