My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
photodiode.defs.h
Go to the documentation of this file.
1 /*
2  * photodiode.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 __photodiode_DEFS_H__
12 #define __photodiode_DEFS_H__
13 
14 // required properties
15 PROP_REQ [] = {
16  { "N", PROP_REAL, { 1.35, PROP_NO_STR }, PROP_MIN_VAL (1e-6) },
17  { "Rseries", PROP_REAL, { 1e-3, PROP_NO_STR }, PROP_MIN_VAL (1e-6) },
18  { "Is", PROP_REAL, { 0.34e-12, PROP_NO_STR }, PROP_MIN_VAL (1e-20) },
19  { "Bv", PROP_REAL, { 60, PROP_NO_STR }, PROP_MIN_VAL (1e-6) },
20  { "Ibv", PROP_REAL, { 1e-3, PROP_NO_STR }, PROP_MIN_VAL (1e-6) },
21  { "Vj", PROP_REAL, { 0.7, PROP_NO_STR }, PROP_MIN_VAL (1e-6) },
22  { "Cj0", PROP_REAL, { 60e-12, PROP_NO_STR }, PROP_MIN_VAL (0) },
23  { "M", PROP_REAL, { 0.5, PROP_NO_STR }, PROP_MIN_VAL (1e-6) },
24  { "Area", PROP_REAL, { 1.0, PROP_NO_STR }, PROP_MIN_VAL (1.0) },
25  { "Tnom", PROP_REAL, { 26.85, PROP_NO_STR }, PROP_MIN_VAL (-273) },
26  { "Fc", PROP_REAL, { 0.5, PROP_NO_STR }, PROP_MIN_VAL (1e-6) },
27  { "Tt", PROP_REAL, { 10e-9, PROP_NO_STR }, PROP_MIN_VAL (1e-20) },
28  { "Xti", PROP_REAL, { 3.0, PROP_NO_STR }, PROP_MIN_VAL (1e-6) },
29  { "Eg", PROP_REAL, { 1.16, PROP_NO_STR }, PROP_MIN_VAL (1e-6) },
30  { "Responsivity", PROP_REAL, { 0.5, PROP_NO_STR }, PROP_MIN_VAL (1e-6) },
31  { "Rsh", PROP_REAL, { 5e8, PROP_NO_STR }, PROP_MIN_VAL (1e-6) },
32  { "QEpercent", PROP_REAL, { 80, PROP_NO_STR }, PROP_RNGII (0, 100) },
33  { "Lambda", PROP_REAL, { 900, PROP_NO_STR }, PROP_RNGII (100, 2000) },
34  { "LEVEL", PROP_INT, { 1, PROP_NO_STR }, PROP_RNGII (1, 2) },
35  { "Kf", PROP_REAL, { 1e-12, PROP_NO_STR }, PROP_MIN_VAL (0) },
36  { "Af", PROP_REAL, { 1.0, PROP_NO_STR }, PROP_MIN_VAL (0) },
37  { "Ffe", PROP_REAL, { 1.0, PROP_NO_STR }, PROP_MIN_VAL (0) },
38  PROP_NO_PROP };
39 
40 // optional properties
41 PROP_OPT [] = {
42  { "Temp", PROP_REAL, { 26.85, PROP_NO_STR }, PROP_MIN_VAL (K) },
43  PROP_NO_PROP };
44 
45 // device definition
46 struct define_t photodiode::cirdef =
47  { "photodiode",
49 
50 #endif /* __photodiode_DEFS_H__ */