40 using namespace qucs::device;
43 diac::diac () : circuit (3) {
75 isOn =
Ud > (Ibo /
gi);
77 nr_double_t Ut, Ieq, Vd;
170 #define qState 0 // charge state
171 #define cState 1 // current state
std::complex< nr_double_t > nr_complex_t
nr_double_t getOperatingPoint(const char *)
matrix ytos(matrix y, qucs::vector z0)
Admittance matrix to scattering parameters.
matrix real(matrix a)
Real part matrix.
nr_double_t getPropertyDouble(const char *)
#define K
Absolute 0 in centigrade.
nr_complex_t sign(const nr_complex_t z)
complex sign function
void addY(int, int, nr_complex_t)
void transientCapacitance(int, int, int, nr_double_t, nr_double_t, nr_double_t)
#define kBoverQ
Boltzmann constant over Elementary charge ( )
void saveOperatingPoints(void)
#define M_PI
Archimedes' constant ( )
void loadOperatingPoints(void)
void setI(int, nr_complex_t)
void setY(int, int, nr_complex_t)
void setInternalNode(int, const char *)
void allocMatrixMNA(void)
void calcOperatingPoints(void)
nr_double_t getV(int, nr_double_t)
nr_complex_t exp(const nr_complex_t z)
Compute complex exponential.
void setOperatingPoint(const char *, nr_double_t)
nr_complex_t log(const nr_complex_t z)
Compute principal value of natural logarithm of z.
qucs::matrix calcMatrixY(nr_double_t)
#define PROP_NO_SUBSTRATE