~ubuntu-branches/ubuntu/karmic/octave-secs1d/karmic

« back to all changes in this revision

Viewing changes to inst/Utilities/constants.m

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2009-05-24 19:06:32 UTC
  • Revision ID: james.westby@ubuntu.com-20090524190632-aukf4u7bkxqtn4t1
Tags: upstream-0.0.8
ImportĀ upstreamĀ versionĀ 0.0.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
Kb           = 1.3806503e-23;
 
3
q            = 1.602176462e-19;
 
4
e0           = 8.854187817e-12;
 
5
esir         = 11.7;
 
6
esio2r       = 3.9;
 
7
esi          = e0 * esir;
 
8
esio2        = e0 * esio2r;
 
9
hplanck      = 6.626e-34;
 
10
hbar         = ( hplanck/ (2*pi));
 
11
mn0          = 9.11e-31;
 
12
mn           = 0.26*mn0;
 
13
mh           = 0.18*mn0;
 
14
 
 
15
 
 
16
qsue         = q / esi;
 
17
T0           = 300 ;
 
18
Vth          = Kb * T0 / q;
 
19
un           = 1417e-4;
 
20
up           = 480e-4;
 
21
tp           = 1e-7;
 
22
tn           = 1e-7;
 
23
 
 
24
mnl          = 0.98*mn0;
 
25
mnt          = 0.19*mn0;
 
26
mndos        = (mnl*mnt*mnt)^(1/3); 
 
27
 
 
28
mhh             = 0.49*mn0;
 
29
mlh             = 0.16*mn0;
 
30
mhdos           = (mhh^(3/2)+mlh^(3/2))^(2/3);
 
31
 
 
32
rn              = .1;
 
33
aleph           = hbar^2/(4*rn*q*mn);
 
34
alephn          = aleph;
 
35
rp              = .1;
 
36
alephp          = hbar^2/(4*rp*q*mh);
 
37
 
 
38
Nc              = (6/4)*(2*mndos*Kb*T0/(hbar^2*pi))^(3/2);   
 
39
Nv              = (1/4)*(2*mhdos*Kb*T0/(hbar^2*pi))^(3/2);
 
40
Eg0             = 1.16964*q;
 
41
alfaEg          = 4.73e-4*q;
 
42
betaEg          = 6.36e2;
 
43
Egap            = Eg0-alfaEg*((T0^2)/(T0+betaEg));
 
44
 
 
45
ni              = sqrt(Nc*Nv)*exp(-Egap/(2*(Kb * T0)));
 
46
Phims           = - Egap /(2*q);
 
47
 
 
48
 
 
49
## This file is part of 
 
50
##
 
51
## SECS1D - A 1-D Drift--Diffusion Semiconductor Device Simulator
 
52
## -------------------------------------------------------------------
 
53
## Copyright (C) 2004-2007  Carlo de Falco
 
54
##
 
55
##
 
56
##
 
57
##  SECS1D is free software; you can redistribute it and/or modify
 
58
##  it under the terms of the GNU General Public License as published by
 
59
##  the Free Software Foundation; either version 2 of the License, or
 
60
##  (at your option) any later version.
 
61
##
 
62
##  SECS1D is distributed in the hope that it will be useful,
 
63
##  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
64
##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
65
##  GNU General Public License for more details.
 
66
##
 
67
##  You should have received a copy of the GNU General Public License
 
68
##  along with SECS1D; If not, see <http://www.gnu.org/licenses/>.
 
69
 
 
70
% Last Revision:
 
71
% $Author: adb014 $
 
72
% $Date: 2008-02-04 16:26:27 +0100 (man, 04 feb 2008) $
 
73