My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Variables
diode.cpp File Reference
#include "component.h"
#include "device.h"
#include "devstates.h"
#include "diode.h"
Include dependency graph for diode.cpp:

Go to the source code of this file.

Classes

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 401 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 400 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 },

Definition at line 462 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) },

Definition at line 455 of file diode.cpp.