My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
phototransistor.defs.h
Go to the documentation of this file.
1 /*
2  * phototransistor.defs.h - device definition header
3  *
4  * This is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2, or (at your option)
7  * any later version.
8  *
9  */
10 
11 #ifndef __phototransistor_DEFS_H__
12 #define __phototransistor_DEFS_H__
13 
14 // required properties
15 PROP_REQ [] = {
16  { "Bf", PROP_REAL, { 100, PROP_NO_STR }, PROP_MIN_VAL (1) },
17  { "Br", PROP_REAL, { 0.1, PROP_NO_STR }, PROP_MIN_VAL (1e-6) },
18  { "Is", PROP_REAL, { 1e-10, PROP_NO_STR }, PROP_MIN_VAL (1e-30) },
19  { "Nf", PROP_REAL, { 1, PROP_NO_STR }, PROP_MIN_VAL (1e-30) },
20  { "Nr", PROP_REAL, { 1, PROP_NO_STR }, PROP_MIN_VAL (1e-30) },
21  { "Vaf", PROP_REAL, { 100, PROP_NO_STR }, PROP_MIN_VAL (1e-6) },
22  { "Var", PROP_REAL, { 100, PROP_NO_STR }, PROP_MIN_VAL (1e-6) },
23  { "Mje", PROP_REAL, { 0.33, PROP_NO_STR }, PROP_MIN_VAL (1e-6) },
24  { "Vje", PROP_REAL, { 0.75, PROP_NO_STR }, PROP_MIN_VAL (1e-6) },
25  { "Cje", PROP_REAL, { 1e-12, PROP_NO_STR }, PROP_MIN_VAL (0) },
26  { "Mjc", PROP_REAL, { 0.33, PROP_NO_STR }, PROP_MIN_VAL (1e-6) },
27  { "Vjc", PROP_REAL, { 0.75, PROP_NO_STR }, PROP_MIN_VAL (1e-6) },
28  { "Cjc", PROP_REAL, { 2e-12, PROP_NO_STR }, PROP_MIN_VAL (0) },
29  { "Tr", PROP_REAL, { (100*1.0e-9), PROP_NO_STR }, PROP_MIN_VAL (1e-15) },
30  { "Tf", PROP_REAL, { (0.1*1.0e-9), PROP_NO_STR }, PROP_MIN_VAL (1e-15) },
31  { "Ikf", PROP_REAL, { 10, PROP_NO_STR }, PROP_MIN_VAL (1e-20) },
32  { "Ikr", PROP_REAL, { 10, PROP_NO_STR }, PROP_MIN_VAL (1e-20) },
33  { "Rc", PROP_REAL, { 10, PROP_NO_STR }, PROP_MIN_VAL (1e-9) },
34  { "Re", PROP_REAL, { 1, PROP_NO_STR }, PROP_MIN_VAL (1e-9) },
35  { "Rb", PROP_REAL, { 100, PROP_NO_STR }, PROP_MIN_VAL (1e-9) },
36  { "Kf", PROP_REAL, { 1e-12, PROP_NO_STR }, PROP_MIN_VAL (0) },
37  { "Ffe", PROP_REAL, { 1, PROP_NO_STR }, PROP_MIN_VAL (0) },
38  { "Af", PROP_REAL, { 1, PROP_NO_STR }, PROP_MIN_VAL (0) },
39  { "Responsivity", PROP_REAL, { 1.5, PROP_NO_STR }, PROP_MIN_VAL (1e-30) },
40  { "P0", PROP_REAL, { 2.6122e3, PROP_NO_STR }, PROP_NO_RANGE },
41  { "P1", PROP_REAL, { -1.489e1, PROP_NO_STR }, PROP_NO_RANGE },
42  { "P2", PROP_REAL, { 3.0332e-2, PROP_NO_STR }, PROP_NO_RANGE },
43  { "P3", PROP_REAL, { -2.5708e-5, PROP_NO_STR }, PROP_NO_RANGE },
44  { "P4", PROP_REAL, { 7.6923e-9, PROP_NO_STR }, PROP_NO_RANGE },
45  PROP_NO_PROP };
46 
47 // optional properties
48 PROP_OPT [] = {
49  { "Temp", PROP_REAL, { 26.85, PROP_NO_STR }, PROP_MIN_VAL (K) },
50  PROP_NO_PROP };
51 
52 // device definition
53 struct define_t phototransistor::cirdef =
54  { "phototransistor",
56 
57 #endif /* __phototransistor_DEFS_H__ */