Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Macros | Variables
diode.cpp File Reference
#include "component.h"
#include "device.h"
#include "devstates.h"
#include "diode.h"

Go to the source code of this file.

Data Structures

class  diode
 

Macros

#define NODE_C   0 /* cathode node */
 
#define NODE_A   1 /* anode node */
 
#define StateVars   1
 
#define _UdPrev   0
 
#define UdPrev   deviceVar (_UdPrev)
 
#define qState   0
 
#define cState   1
 

Variables

 PROP_REQ []
 
 PROP_OPT []
 

Macro Definition Documentation

#define _UdPrev   0

Definition at line 40 of file diode.cpp.

#define cState   1

Definition at line 402 of file diode.cpp.

#define NODE_A   1 /* anode node */

Definition at line 35 of file diode.cpp.

#define NODE_C   0 /* cathode node */

Definition at line 34 of file diode.cpp.

#define qState   0

Definition at line 401 of file diode.cpp.

#define StateVars   1

Definition at line 37 of file diode.cpp.

#define UdPrev   deviceVar (_UdPrev)

Definition at line 43 of file diode.cpp.

Variable Documentation

PROP_OPT[]
Initial value:
= {
{ "Rs", PROP_REAL, { 0, PROP_NO_STR }, PROP_POS_RANGE },
{ "Isr", PROP_REAL, { 0, PROP_NO_STR }, PROP_POS_RANGE },
{ "Nr", PROP_REAL, { 2, PROP_NO_STR }, PROP_RNGII (0.1, 100) },
{ "Bv", PROP_REAL, { 0, PROP_NO_STR }, PROP_POS_RANGE },
{ "Ibv", PROP_REAL, { 1e-3, PROP_NO_STR }, PROP_POS_RANGE },
{ "Ikf", PROP_REAL, { 0, PROP_NO_STR }, PROP_POS_RANGE },
{ "Tt", PROP_REAL, { 0, PROP_NO_STR }, PROP_POS_RANGE },
{ "Fc", PROP_REAL, { 0.5, PROP_NO_STR }, PROP_RNGIX (0, 1) },
{ "Cp", PROP_REAL, { 0, PROP_NO_STR }, PROP_POS_RANGE },
{ "Kf", PROP_REAL, { 0, PROP_NO_STR }, PROP_POS_RANGE },
{ "Af", PROP_REAL, { 1, PROP_NO_STR }, PROP_POS_RANGE },
{ "Ffe", PROP_REAL, { 1, PROP_NO_STR }, PROP_POS_RANGE },
{ "Temp", PROP_REAL, { 26.85, PROP_NO_STR }, PROP_MIN_VAL (K) },
{ "Xti", PROP_REAL, { 3, PROP_NO_STR }, PROP_POS_RANGE },
{ "Tbv", PROP_REAL, { 0, PROP_NO_STR }, PROP_POS_RANGE },
{ "Trs", PROP_REAL, { 0, PROP_NO_STR }, PROP_NO_RANGE },
{ "Ttt1", PROP_REAL, { 0, PROP_NO_STR }, PROP_NO_RANGE },
{ "Ttt2", PROP_REAL, { 0, PROP_NO_STR }, PROP_NO_RANGE },
{ "Tm1", PROP_REAL, { 0, PROP_NO_STR }, PROP_NO_RANGE },
{ "Tm2", PROP_REAL, { 0, PROP_NO_STR }, PROP_NO_RANGE },
{ "Tnom", PROP_REAL, { 26.85, PROP_NO_STR }, PROP_MIN_VAL (K) },
{ "Area", PROP_REAL, { 1, PROP_NO_STR }, PROP_POS_RANGEX },
#define PROP_POS_RANGE
Definition: netdefs.h:129
#define PROP_RNGII(f, t)
Definition: netdefs.h:138
#define PROP_REAL
Definition: netdefs.h:174
#define PROP_NO_PROP
Definition: netdefs.h:122
#define K
Absolute 0 in centigrade.
Definition: constants.h:59
#define PROP_NO_RANGE
Definition: netdefs.h:126
#define PROP_NO_STR
Definition: netdefs.h:125
#define PROP_MIN_VAL(k)
Definition: netdefs.h:133
#define PROP_POS_RANGEX
Definition: netdefs.h:131
#define PROP_RNGIX(f, t)
Definition: netdefs.h:140
#define EgSi
Energy gap at 300K in eV of Silicon.
Definition: constants.h:87

Definition at line 463 of file diode.cpp.

PROP_REQ[]
Initial value:
= {
{ "Is", PROP_REAL, { 1e-15, PROP_NO_STR }, PROP_POS_RANGE },
{ "N", PROP_REAL, { 1, PROP_NO_STR }, PROP_RNGII (1e-6, 100) },
{ "M", PROP_REAL, { 0.5, PROP_NO_STR }, PROP_RNGII (0, 2) },
{ "Cj0", PROP_REAL, { 10e-15, PROP_NO_STR }, PROP_POS_RANGE },
{ "Vj", PROP_REAL, { 0.7, PROP_NO_STR }, PROP_RNGXI (0, 10) },
#define PROP_POS_RANGE
Definition: netdefs.h:129
#define PROP_RNGII(f, t)
Definition: netdefs.h:138
#define PROP_REAL
Definition: netdefs.h:174
#define PROP_NO_PROP
Definition: netdefs.h:122
#define PROP_NO_STR
Definition: netdefs.h:125
#define PROP_RNGXI(f, t)
Definition: netdefs.h:139

Definition at line 456 of file diode.cpp.