원시데이터 수집 시스템
선정목록으로

Sesame: A 2-dimensional solar cell modeling tool

관련 수소연료전지 · (6) PEM(고분자전해질막)

기본 정보

저자
  1. Benoit Gaury — National Institute of Standards and Technology, Gaithersburg, MD, 20899, USA|||Maryland NanoCenter, University of Maryland, College Park, MD, 20742, USA
  2. Yubo Sun — School of Electrical & Computer Engineering, Purdue University, West Lafayette, IN, 47907, USA
  3. Peter Bermel — School of Electrical & Computer Engineering, Purdue University, West Lafayette, IN, 47907, USA
  4. Paul M. Haney — National Institute of Standards and Technology, Gaithersburg, MD, 20899, USA
DOI
10.1016/j.solmat.2019.03.037
저널
Solar Energy Materials and Solar Cells
발행년도
2019
발행기관
Elsevier BV
피인용수
15
라이선스
publisher-specific-oa
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.solmat.2019.03.037
토픽
Semiconductor Quantum Structures and Devices
OpenAlex ID
W2808865005

평가 내용

관련도
관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

초록이 없습니다.

본문 40,995자

본문 펼치기
Sesame: a 2-dimensional solar cell modeling tool Benoit Gaury _Center_ _for_ _Nanoscale_ _Science_ _and_ _Technology,_ _National_ _Institute_ _of_ _Standards_ _and_ _Technology,_ _Gaithersburg,_ _MD_ _20899,_ _USA_ _and_ _Maryland_ _NanoCenter,_ _University_ _of_ _Maryland,_ _College_ _Park,_ _MD_ _20742,_ _USA_ Yubo Sun and Peter Bermel _School_ _of_ _Electrical_ _&_ _Computer_ _Engineering,_ _Purdue_ _University,_ _West_ _Lafayette,_ _IN,_ _47907,_ _USA_ Paul M. Haney _Center_ _for_ _Nanoscale_ _Science_ _and_ _Technology,_ _National_ _Institute_ _of_ _Standards_ _and_ _Technology,_ _Gaithersburg,_ _MD_ _20899,_ _USA_ (Dated: June 20, 2018) This work introduces a new software package “Sesame” for the numerical computation of classical semiconductor equations. It supports 1 and 2-dimensional systems and provides tools to easily implement extended defects such as grain boundaries or sample surfaces. Sesame has been designed to facilitate fast exploration of the system parameter space and to visualize local charge transport properties. Sesame is distributed as a Python package or as a standalone GUI application, and is available at `[https://pages.nist.gov/sesame/](https://pages.nist.gov/sesame/)` . I. INTRODUCTION Numerical simulations are an essential aspect of photovoltaic research and design. A number of free software packages have been developed and extensively used for solar cell modeling in 1-dimension, including AMPS [1], PC-1D [1], SCAPS [2], and wxAMPS [3]. Freely available 2-dimensional simulation tools are less common [4–6], but are necessary for describing systems with lateral inhomogeneity. A common class of such systems are polycrystalline thin film photovoltaics, such as CdTe [7], CIGS [8], and hybrid perovskites [9]. In these materials grain boundaries break the lateral symmetry of the _p_ - _n_ junction, leading to complex system geometries. Lateral inhomogeneity is also often encountered in nanoscale or mesoscopic measurements. The resolution of these measurement is typically achieved using an excitation source or measurement probe with nanoscale spatial extent. Examples include electron beam induced current (EBIC) or scanning Kelvin probe microscopy, which are also often surface sensitive. An appropriate model for these measurements is therefore (at least) 2-dimensional and includes localized excitation/detection sources and relevant boundary conditions. There are numerous examples of the use of 2dimensional solar cell modeling in the literature. For instance, the impact of grain boundaries in polycrystalline cells has been previously studied numerically [10–12] and analytically [13, 14]. Simulations have been used for interpreting experiments with localized excitations such as EBIC [15, 16], cathodololuminescence [17, 18], and twophoton photoluminescence [19]. Although these works are instructive, nonlinearities in the system response prevent a simple extrapolation of previous results to all possible system configurations of interest. Indeed there remain a number of unresolved questions of fundamental interest in polycrystalline photovoltaics, questions as ba FIG. 1. Coordinate system of Sesame: rectilinear geometry and contacts located at _x_ = 0 and _x_ = _L_ . _pn_ junction doping is shown as an example. sic as whether grain boundaries are harmful or beneficial to cell performance [7, 20]. It is therefore desirable for researchers to have widespread access to 2-d simulation software. In this work we introduce Sesame, a Python package developed by the authors (B. G. and P. M. H.) which solves the drift-diffusion-Poisson equations in 1 and 2 dimensions. Sesame is open source and distributed under the BSD license. Sesame is designed to easily construct systems with planar defects, such as grain boundaries or sample surfaces, which may contain both discrete or a continuum of gap state defects. While full-featured commercial packages allow simulations of complex device configurations together with multiple physical effects, the needs of research sometimes require access to the source code and licensing that enables usage on computing clusters. The program and its code are publicly available at `[https://pages.nist.gov/sesame/](https://pages.nist.gov/sesame/)` . The paper is organized as follows: In Sec. II we present a brief overview of the model and geometry. In Sec. III we compare the output of Sesame to established semiconductor modeling software, including SCAPS [2], Sentaurus [21], and COMSOL Semiconductor Module [22] [23]. In Sec. III we also present a hands-on tutorial script for solving a 2-dimensional system with a grain boundary, and briefly describe the functionality of the GUI. The mathematics underlying the model and technical details of the numerical implementation can be found in the Appendix. II. OVERVIEW OF THE PHYSICAL MODEL The system geometry consists of a semiconductor device connected to contacts at _x_ = 0 and _x_ = _L_ (see Fig. 1). Sesame describes the steady state behavior of this system, which is governed by the drift-diffusionPoisson equations: _∇·⃗Jn_ = _−q_ ( _G −_ _R_ ) (1) _∇·⃗Jp_ = _q_ ( _G −_ _R_ ) (2) FIG. 2. Comparison between Sesame and SCAPS, Sentaurus, and COMSOL for a CdS-CdTe heterojunction. (a) Illuminated _J_ - _V_ curve. (b) Band diagram under short circuit conditions. Inset shows the valence band and hole quasi-Fermi level near the CdS layer. Black thin lines are the Sentaurus results, and thick colored lines are Sesame results. III. BENCHMARKS AND EXAMPLES A. Benchmarks We first verify the consistency between Sesame and other software packages. We have compared the output of Sesame with the well-established software packages Sentaurus, COMSOL, and SCAPS for many systems, and present two illustrative examples here. We first consider a 1-d heterojunction consisting of a thin _n_ <sup>+</sup> -doped layer of CdS and a _p_ -type CdTe. The material parameters are shown in Table I. Fig 2(a) shows the computed _J_ - _V_ curve under uniform illumination of _G_ = 3 _._ 3 _×_ 10 <sup>20</sup> cm <sup>_−_</sup> <sup>3</sup> s <sup>_−_</sup> <sup>1</sup> . We find close agreement between Sesame, Sentaurus, and COMSOL. To quantify the comparison, we define the relative difference between two computed currents _J_ 1 and _J_ 2 as _|J_ 1 _−_ _J_ 2 _| /⟨J_ 1 + _J_ 2 _⟩_, where _⟨⟩_ denotes the average. The maximum relative difference between Sesame and Sentaurus is 0 _._ 2 %, and between Sesame and COMSOL it is 2 %. We observe a more substantial difference between Sesame and SCAPS, with a maximum value of 7 %. In all cases, the maximum discrepancy occurs near _V_ oc, where the current is minimized so that _relative_ differences are maximized. We attribute the larger difference between Sesame and SCAPS to the different interface recombination model used in SCAPS, in which the system variables are multi-valued at the interface and allow for recombination between layers [2]. We next consider a 2-d homojunction with a single columnar grain boundary (see inset of Fig. 3(a) for system geometry). We use the same bulk parameters as given for CdTe in Table I for both _n_ and _p_ layers, except with _τe_ = _τh_ = 10 ns. The thickness of the _n_ <sup>+</sup> layer is taken to be 100 nm. The grain boundary contains a donor and an acceptor defect, both positioned at 0 _._ 4 eV above midgap, with defect density _ρGB_ = 10 <sup>14</sup> cm <sup>_−_</sup> <sup>2</sup> and equal hole and electron capture cross section _σ_ GB = 10 <sup>_−_</sup> <sup>14</sup> cm <sup>2</sup> . The grain boundary is positioned in the middle of the system, and terminates at a distance of 100 nm from either contact. For this simulation we again use a uniform gen _∇·_ with the currents - _ϵ⃗∇φ_ = _−ρ/ϵ_ 0 (3) _Jn_ = _−qµnn⃗∇φ_ + _qDn⃗∇n_ (4) _Jp_ = _−qµpp⃗∇φ −_ _qDp⃗∇p_ _,_ (5) where _n_ and _p_ are the respective electron and hole number densities, and _φ_ is the electrostatic potential. _⃗Jn_ ( _p_ ) is the charge current density of electrons (holes). Here, _q_ is the absolute value of the electron charge. _ρ_ is the local charge density, _ϵ_ is the dielectric constant of the material, and _ϵ_ 0 is the permittivity of free space. _µn,p_ is the electron/hole mobility, and is assumed to satisfy the Einstein relation: _Dn,p_ = _kBTµn,p/q_ . _G_ is the electron/hole pair generation rate density and _R_ is the recombination rate density. Sesame includes Schockley-Read-Hall, radiative, and Auger recombination mechanisms. Sesame is currently limited to describing non-degenerate semiconductors with Boltzmann statistics, and does not include thermionic emission and quantum tunneling at interfaces. These can be important contributions to the transport in heterojunctions [24], so care should be exercised when using Sesame to simulate such systems. Sesame includes Ohmic and Schottky contact boundary conditions, and periodic or hardwall (infinite potential) transverse boundary conditions. Sesame uses finite differences to solve Eqs. (1-3), and the standard Scharfetter-Gummel scheme for discretizing the current [25]. Details of the implementation can be found in the Appendix. <u>Param.</u> <u>CdS</u> <u>CdTe</u> _L_ [nm] 25 4000 _ϵ_ 10 9.4 _τn_ [ns] 10 5 _τp_ [ns] 10 <sup>_−_</sup> <sup>4</sup> 5 _NC_ [cm <sup>_−_</sup> <sup>3</sup> ] 2 _._ 2 _×_ 10 <sup>18</sup> 8 _×_ 10 <sup>17</sup> _NV_ [cm <sup>_−_</sup> <sup>3</sup> ] 1 _._ 8 _×_ 10 <sup>19</sup> 1 _._ 8 _×_ 10 <sup>19</sup> _Eg_ [eV] 2 _._ 4 1 _._ 5 _χ_ [eV] 4 _._ 0 3 _._ 9 _µn_ [cm <sup>2</sup> _/_ (V _·_ s)] 100 320 _µp_ [cm <sup>2</sup> _/_ (V _·_ s)] 25 40 <u>doping</u> <u>[cm</u> <sup>_−_</sup> <sup>3</sup> <u>]</u> <u>10</u> <sup>17</sup> <u>(D)</u> <u>10</u> <sup>15</sup> <u>(A)</u> TABLE I. List of parameters used for the 1-d heterojunction calculation. The label (D) and (A) for the doping value indicate donor and acceptor, respectively. FIG. 3. Comparison between Sesame, COMSOL and Sentaurus for a 2-dimensional system. (a) Illuminated JV curve. Inset: schematic of the system, an n-p junction with a columnar grain boundary. (b) Band diagram along the grain boundary core under short-circuit conditions. eration rate _G_ = 3 _._ 3 _×_ 10 <sup>21</sup> cm <sup>_−_</sup> <sup>3</sup> s <sup>_−_</sup> <sup>1</sup> . Fig. 3(a) shows the illuminated _J_ - _V_ curve obtained with Sesame, COMSOL, and Sentaurus (SCAPS is not included, as it does not support 2-d geometries). We again find good agreement between Sesame and the other software packages: the largest relative difference between Sesame and Sentaurus is 0.5 %, and between Sesame and COMSOL it is 0.7 %. Fig. 3(b) shows the good agreement obtained for the band diagram along the grain boundary core under short-circuit conditions for the three software packages. B. Scripting example Sesame is run either through a self-contained GUI, or as a python package which is called in scripts. Running sesame with scripts is particularly convenient for running large-scale batch simulations on a computing cluster. Scripting also provides more flexibility in system definition ( _e.g._ continuous grading of electronic parameters and doping). In the distribution, we provide several example scripts which describe standard PV simulations (e.g. _J_ - _V_, IQE calculations), along with in-depth tutorials in the documentation. Here we give a description of the script used to generate the data of Fig. 3. We first import the numpy and sesame packages: ``` import sesame import numpy as np ``` Next we define the grids for _x_ and _y_ . We use uniform grids for this example, but generally non-uniform grids are necessary to optimize the simulation accuracy and speed (non-uniform grids are used in the simulation of Fig. 3). (Note: Sesame assumes all lengths are given in units of cm.) ``` x = np.linspace(0,3e-4,100) y = np.linspace(0,3e-4,100) ``` We create the system with the `Builder` function. The input to `Builder` are the _x_ and _y_ grids. The output is an object `sys` which contains all the information needed to describe the simulation. ``` sys = sesame.Builder(x, y) ``` Additional simulation settings are set by calling various methods of `sys`, as we show below. Next we define the material properties with a python dictionary object (called `mat` in this example). The dictionary key names correspond to standard definitions. (Note: Sesame assumes times are given in units of s, energies in units of eV, densities in units of cm <sup>_−_</sup> <sup>3</sup>, mobility in units of cm _/_ V _·_ s)). ``` mat = {’Nc’:8e17, ’Nv’:1.8e19, ’Eg’:1.5, ’affinity’:4.1, ’epsilon’:9.4, ’Et’:0, ’mu_e’:320, ’mu_h’:40, ’tau_e’:1e-8, ’tau_h’:1e-8} ``` The dictionary key `Et` represents the energetic position of bulk recombination centers, as measured from the intrinsic energy level, and `tau_e` / `tau_h` are the electron/hole lifetimes. The dependence of the Schockley-Read-Hall recombination on these parameters can be found in the Appendix. The material is added to the system using the `add_material` function, which takes the `mat` dictionary as input. Note that `add_material` is a method of the `sys` object, and is called with the command: ``` sys.add_material(mat) ``` To build a _p_ - _n_ junction we add a position-dependent doping profile to the system. We must define functions which describe the different doping regions; for this example, these functions are called `n_region` and `p_region` . They return True when the input variable `position` belongs to the region. For this example the two regions are delimited at the `junction` coordinate which corresponds to _x_ = 10 <sup>_−_</sup> <sup>5</sup> cm. ``` junction = 1e-5 ``` ``` def n_region(position): x, y = position return x < junction def p_region(position): x, y = position return x >= junction ``` Having defined the different doping regions, we add the donors and acceptors with the `sys` methods `add_donor` and `add_acceptor` . The input for these methods are the doping magnitude and doping region functions we just defined. Sesame currently assumes that all bulk dopants are fully ionized. (Note: Sesame assumes the units of density is cm <sup>_−_</sup> <sup>3</sup> ): ``` donorDensity = 1e17 sys.add_donor(donorDensity, n_region) acceporDensity = 1e15 sys.add_acceptor(acceptorDensity, p_region) ``` Next we specify the contact boundary conditions. For this example, we specify Ohmic contacts with the function `contact_type` . Note the order of input arguments is left contact ( _x_ = 0) type first, right contact ( _x_ = _L_ ) type second: ``` sys.contact_type(’Ohmic’,’Ohmic’) ``` We next specify the value of recombination velocity for electrons and holes at both contacts (Note: Sesame assumes the units of velocity are cm _/_ s). For this example, both contacts only collect majority carriers. This is accomplished with the function `contact_S` : ``` Sn_L, Sp_L, Sn_R, Sp_R = 1e7, 0, 0, 1e7 sys.contact_S(Sn_L, Sp_L, Sn_R, Sp_R) ``` Next we add a grain boundary. We must specify the grain boundary defect energy level `EGB` (note the defect energy level is measured from the intrinsic energy level), the electron and hole capture cross sections `sigmaeGB` and `sigmahGB`, the defect density `rhoGB`, and the endpoints of the line defining the grain boundary `p1,` `p2` . These are input arguments to the function `add_line_defects` which creates a grain boundary. We also specify the charge transition states of the defect with the function input `transition` . In this case the specified charge states are (+1,-1), corresponding to having a donor and acceptor at the same energy level. ``` EGB = 0.4 sigmaeGB = 1e-15 sigmahGB = 1e-15 rhoGB = 1e14 p1 = (.1e-4, 1.5e-4) p2 = (2.9e-4, 1.5e-4) sys.add_line_defects([p1, p2], rhoGB, ``` FIG. 4. Menu and 3 main tabs of the Sesame GUI. See text for a description of the functionality of each tab. ``` sigmaeGB, sigmahGB, EGB, transition=(+1, 1)) ``` We add illumination by defining a function `illumina-` `tion` which returns the position-dependent intensity as a function of the input coordinate `x,y` ``` def illumination(x,y): return 2.3e21 * np.exp(-2.3e4 * x) sys.generation(illumination) ``` With the system now fully defined, we specify the list of applied voltages used to compute the current-voltage relation with the `IVcurve` function: ``` voltages = np.linspace(0,1,11) jset = sesame.IVcurve(sys, voltages, solution, ’GB_JV’) ``` The function `IVcurve` returns an array `jset` containing the computed current density for each applied voltage. The `IVcurve` function also saves output files with seedname “GB_JV” concatenated with a suffix labeling the applied voltage index. These output files contain objects describing the simulation settings and the solution arrays. By default these files are compressed data files containing python Pickle objects (.gzip files). There is also an option to output the data in Matlab format (.mat files). Sesame includes an `Analyzer` object which contains several functions for computing quantities of interest from the solution, such as current densities, total recombination, carrier densities, and others. We refer the reader to the online documentation for a detailed list of all these functions. C. GUI Use of the standalone GUI as an alternative to scripting can be more convenient for small-scale calculations, or for those without access to a python distribution. Simulation settings can be saved and loaded, and the GUI also provides an interactive python prompt. The GUI is divided into three tabs, as shown in Fig. 4: 1. The System tab contains fields to define the system geometry and material parameters (see Fig. 5). FIG. 5. Panels from System tab of the GUI. In the planar defects panel, an arbitrary number of planar defects can be defined by specifying the endpoints of the boundary (a 1-d line for a 2-dimensional simulation), the defect energy, density, electron and hole capture cross sections, and charge states. The Generation rate panel allows for one user-defined parameter to be varied. 2. The Simulation tab lets the user specify which parameter is varied: either the voltage is swept, or a user-defined variable related to the generation rate density is swept. The boundary conditions and output file information is also set here, and the simulation is launched from this tab. The program output is provided so that the user can follow the progress of the calculations. 3. The Analysis tab enables the user to plot the output of the simulation, and to save and export plotted data (see Figs. 6 and 7). Sesame is distributed with a number of sample input files for setting up standard PV simulations in the GUI. More detailed documentation for the GUI is included in the distribution. IV. CONCLUSION Modeling tools are essential for describing and understanding polycrystalline materials and nanoscale measurements. System behavior for complex, 2-dimensional geometries can be drastically different than the textbook 1-dimensional _p_ - _n_ junction model. Numerical simulations provide the capability to explore and develop in FIG. 6. Panel from Analysis tab of the GUI. Data files can be selected for analysis, and surface plots of system variables and observables can be generated for 2-dimensional systems. A linear plot with two modes is available. In “loop values” mode, a scalar (such as total current) is plotted versus the looped parameters. In the “position” mode, a system variable or observable from a single solution is plotted versus spatial coordinate. FIG. 7. The surface plot panel of the Analysis tab of the GUI. This shows the hole currents flowing in a homojunction with a single grain boundary. tuition about this rather unchartered territory. Our aim in releasing Sesame is to provide the research community with a free, easy-to-use resource which will enable broader use of simulation in complex photovoltaic systems. There are opportunities for additional functionalities (e.g. time-dependence, small-signal analysis, more advanced interface transport models) and further optimizations (e.g. use of Cython) of the code. Our intent in releasing the fully documented source code is to provide users the option to make these and other additions as their research needs require. An additional feature not discussed here is 3-dimensional modeling, which is included in the distribution as an untested feature which will be investigated further in future work. ACKNOWLEDGMENTS B. G. acknowledges support under the Cooperative Research Agreement between the University of Maryland [1] P. A. Basore and D. A. Clugston, in _Photovoltaic Special-_ _ists_ _Conference,_ _1996.,_ _Conference_ _Record_ _of_ _the_ _Twenty_ _Fifth_ _IEEE_ (IEEE, 1996) pp. 377–381. [2] M. Burgelman, P. Nollet, and S. Degrave, Thin Solid Films 361, 527 (2000). [3] Y. Liu, Y. Sun, and A. Rockett, Solar Energy Materials and Solar Cells 98, 124 (2012). [4] J. L. Gray, in _Photovoltaic_ _Specialists_ _Conference,_ _1991.,_ _Conference_ _Record_ _of_ _the_ _Twenty_ _Second_ _IEEE_ (IEEE, 1991) pp. 436–438. [5] P. P. Altermatt, Journal of computational electronics 10, 314 (2011). [6] P. A. Basore and K. Cabanas-Holmen, IEEE Journal of Photovoltaics 1, 72 (2011). [7] J. D. Major, Semiconductor Science and Technology 31, 093001 (2016). [8] Y. Yan, R. Noufi, and M. Al-Jassim, Physical review letters 96, 205501 (2006). [9] J. S. Yun, A. Ho-Baillie, S. Huang, S. H. Woo, Y. Heo, J. Seidel, F. Huang, Y.-B. Cheng, and M. A. Green, The journal of physical chemistry letters 6, 875 (2015). [10] S. Edmiston, G. Heiser, A. Sproul, and M. Green, Jour nal of applied physics 80, 6783 (1996). [11] M. Gloeckler, J. R. Sites, and W. K. Metzger, Journal of applied physics 98, 113704 (2005). [12] U. Rau, K. Taretto, and S. Siebentritt, Applied Physics A 96, 221 (2009). [13] B. Gaury and P. M. Haney, Journal of applied physics 120, 234503 (2016). [14] B. Gaury and P. M. Haney, Physical Review Applied 8, 054026 (2017). [15] P. M. Haney, H. P. Yoon, B. Gaury, and N. B. Zhitenev, Journal of applied physics 120, 095702 (2016). [16] Y. Jin and S. T. Dunham, IEEE Journal of Photovoltaics 7, 329 (2017). [17] A. Kanevce, J. Moseley, M. Al-Jassim, and W. K. Met zger, IEEE Journal of Photovoltaics 5, 1722 (2015). and the National Institute of Standards and Technology Center for Nanoscale Science and Technology, Award 70NANB14H209, through the University of Maryland. Y. S. and P. B. acknowledge Support provided by the Department of Energy, under DOE Cooperative Agreement No. [de-ee0004946](http://arxiv.org/abs/de-ee/0004946) (PVMI Bay Area PV Consortium), and the National Science Foundation Award EEC 1454315 – CAREER: Thermophotonics for Efficient Harvesting of Waste Heat as Electricity. We thank Marc Burgelman for helpful correspondence, and thank Mike Scarpulla and Heayoung Yoon for helpful feedback on the software design. [18] B. Mendis, A. Howkins, D. Stowe, J. Major, and K. Durose, Ultramicroscopy 167, 31 (2016). [19] A. Kanevce, D. Levi, and D. Kuciauskas, Progress in Photovoltaics: Research and Applications 22, 1138 (2014). [20] S. G. Kumar and K. K. Rao, Energy & Environmental Science 7, 45 (2014). [21] S. D. U. Guide and E. Version, Mountain View, CA, USA (2013). [22] C. Multiphysics, COMSOL AB, Stockholm, Sweden (2017). [23] The full description of the procedures used in this paper requires the identification of certain commercial products. The inclusion of such information should in no way be construed as indicating that such products are endorsed by NIST or are recommended by NIST or that they are necessarily the best software for the purposes described. [24] K. Horio and H. Yanai, IEEE transactions on electron devices 37, 1093 (1990). [25] H. K. Gummel, IEEE Trans. Electron Devices 11, 455 (1964). [26] R. F. Pierret, _Semiconductor_ _device_ _fundamentals_ (Pear son Education India, 1996). [27] S. J. Fonash, _Solar_ _cell_ _device_ _physics_ (Academic Press, 1981). [28] S. Selberherr, _Analysis_ _and_ _simulation_ _of_ _semiconductor_ _devices_ (Springer Science & Business Media, 2012). [29] D. Vasileska, S. M. Goodnick, and G. Klimeck, _Com-_ _putational_ _Electronics:_ _semiclassical_ _and_ _quantum_ _device_ _modeling_ _and_ _simulation_ (CRC press, 2017). [30] K. M. Van Vliet and A. H. Marshak, Solid-State Elec tronics 23, 49 (1980). [31] W. Shockley and W. T. Read, Phys. Rev. 87, 835 (1952). [32] G. Brown and B. Lindsay, Solid-State Electronics 19, 991 (1976). Appendix A MODEL DETAILS A Mathematical Description In this section we provide a full description of the equations solved by Sesame. These are fairly standard and can be found in textbooks [26–29], but we include them here for the sake of completeness and to specify notation and conventions used in the code. We first write densities in terms of quasi-Fermi levels, denoted by _EFn_ and _EFp_ for electrons and holes, respectively. Since we assume Boltzmann statistics ( _i.e._ a non-degenerate semiconductor), the carrier densities are related to quasi-Fermi levels by: FIG. 8. Depiction of energy levels of defect states. The intrinsic energy level is _Ei_ = _Eg/_ 2 _−_ _kBT/q_ ln ( _NC_ _/NV_ ), as measured from the valence band edge. _n_ = _NC_ exp _p_ = _NV_ exp - _<u>EFn</u>_ <u>+</u> _<u>χ</u>_ <u>+</u> _<u>qφ</u>_ _kBT_ - _−EFp_ _−_ _χ −_ _Eg_ _−_ _qφ_ _kBT_ (6) _._ (7) where _NT_ is the three-dimensional trap density, _vn,p_ <sup>th</sup> where _NT_ is the three-dimensional trap density, _vn,p_ <sup>th</sup> <sup>is</sup> the thermal velocity of carriers ( _vn,p_ <sup>th</sup> <sup>=</sup> �3 _kBT/mn,p_ the thermal velocity of carriers ( _vn,p_ <sup>th</sup> <sup>=</sup> �3 _kBT/mn,p_ with _mn,p_ the electron/hole effective mass), and _σn,p_ is the capture cross-section for electrons, holes. _n,p_ <sup>th</sup> <sup>=</sup> where _Eg_ is the material band gap, _χ_ is the electron affinity, and _NC,V_ are the conduction, valence band effective density of states, respectively. All quantities except temperature can vary with position. The electron and hole current can be expressed in terms of the spatial gradient of the quasi-Fermi levels [30]: _Jn_ = _qµnn⃗∇EFn_ (8) _Jp_ = _qµpp⃗∇EFp._ (9) _1_ _Recombination_ Sesame includes Shockley-Read-Hall, radiative and Auger recombination. The steady-state Shockley-ReadHall recombination rate density is given by: _R_ SRH = _<u>np −</u>_ _<u>n</u>_ <sup>2</sup> _<u>i</u>_ (10) _τp_ ( _n_ + _n_ 1) + _τn_ ( _p_ + _p_ 1) where _ni_ is <u>the</u> <u>material</u> intrinsic carrier density, given by _ni_ = <sup>_√_</sup> _NCNV_ exp ( _−Eg/_ (2 _kBT_ )). The equilibrium Fermi energy at which _n_ = _p_ = _ni_ is the instrinsic energy level _Ei_ . We specify the defect energy level _ET_ relative to _Ei_ (see Fig. 8), so that the expressions for _n_ 1 and _p_ 1 in Eq. 10 are given by: _,_ (11) _n_ 1 = _ni_ exp _p_ 1 = _ni_ exp - _<u>ET</u>_ _kBT_ - _−_ <sup>_<u>ET</u>_</sup> _kBT_ (12) The radiative recombination has the form _R_ rad = _B_ ( _np −_ _n_ <sup>2</sup> _i_ <sup>)</sup> (14) where _B_ is the radiative recombination coefficient of the material. The Auger mechanism has the form _R_ A = ( _Cnn_ + _Cpp_ )( _np −_ _n_ <sup>2</sup> _i_ <sup>)</sup> (15) where _Cn_ ( _Cp_ ) is the electron (hole) Auger coefficient. _2_ _Planar_ _defects_ Sesame has been created with the intent of studying extended defects in solar cells, such as grain boundaries and sample surfaces. These extended planar defects are represented by a point in a 1-d model, a line in a 2-d model, and a plane in a 3-d model. The extended defect energy level spectrum can be discrete or continuous. For a discrete spectrum, we label the defect with the subscript _d_ . The occupancy of the defect level _fd_ is given by [31] _<u>Snn</u>_ <u>+</u> _<u>Sppd</u>_ _fd_ = (16) _Sn_ ( _n_ + _nd_ ) + _Sp_ ( _p_ + _pd_ ) where _n_ ( _p_ ) is the electron (hole) density at the spatial location of the defect, _Sn_, _Sp_ are recombination velocity parameters for electrons and holes respectively. _nd_ and _pd_ are (17) _τn,_ ( _p_ ) is the bulk lifetime for electrons, holes. It is given by - _<u>Ed</u>_ _kBT_ - _−_ <sup>_<u>Ed</u>_</sup> _kBT_ (18) <u>1</u> _τn,p_ = _NT vn,p_ <sup>th</sup> <sup>_σn,p_</sup> (13) _nd_ = _ni_ exp _pd_ = _ni_ exp where _Ed_ is calculated from the intrinsic level _Ei_ . The electron/hole recombination velocity are related to the electron/hole capture cross section and the defect density _ρd_ according to: _Sn,p_ = _ρdσn,pvn,p_ <sup>th</sup> <sup>_._</sup> (19) The defect recombination is of Shockley-Read-Hall form: _<u>SnSp</u>_ <u>(</u> _<u>np −</u>_ _<u>n</u>_ <sup>2</sup> _<u>i</u>_ <sup><u>)</u></sup> _Rd_ = _Sn_ ( _n_ + _nd_ ) + _Sp_ ( _p_ + _pd_ ) <sup>_._</sup> (20) The charge density given of a single defect depends on the defect type (acceptor vs. donor) _NC_ exp [ _−_ (Φ _M_ _−_ _χ_ ) _/kBT_ ], where Φ _M_ is the work function of the metal contact. Eq. 6 then yields the expression for _φ_ <sup>eq</sup> (shown here for the _x_ = 0 contact): _qφ_ <sup>eq</sup> (0 _, y, z_ ) = _−_ Φ _M_ _|x_ =0 contact (23) An identical expression applies for the _x_ = _L_ contact. Sesame also has an option for von Neumann boundary conditions, where it’s assumed that the electrostatic field at the contact vanishes: _<u>∂φ</u>_ <sup>eq</sup> (24) _∂x_ <sup>eq</sup> <sup>(</sup> <sup>_L, y, z_</sup> <sup>) = 0</sup> <sup>_._</sup> _<u>∂φ∂x</u>_ <sup>eq</sup> <sup>(0</sup> <sup>_, y, z_</sup> <sup>) =</sup> <sup>_<u>∂φ</u>_</sup> _∂x_ <sup>eq</sup> The equilibrium potential _φ_ <sup>eq</sup> determines the equilibrium densities _n_ <sup>eq</sup> _,_ _p_ <sup>eq</sup> according to Eqs. 6 and 7 with _EFn_ = _EFp_ = 0. _2_ _System_ _out_ _of_ _thermal_ _equilibrium_ Out of thermal equilibrium, Dirichlet boundary conditions are imposed on the electrostatic potential. For example, in the presence of an applied bias _V_ at _x_ = _L_, the boundary conditions are _φ_ (0 _, y, z_ ) = _φ_ <sup>eq</sup> (0 _, y, z_ ) (25) _φ_ ( _L, y, z_ ) = _φ_ <sup>eq</sup> ( _L, y, z_ ) + _qV_ (26) where _φ_ <sup>eq</sup> is the equilibrium electrostatic potential. For the drift-diffusion equations, the boundary conditions for carriers at charge-collecting contacts are parameterized with the surface recombination velocities for electrons and holes at the contacts, denoted respectively by _Scn_ and _Scp_ : _Q_ = _qρd ×_ (1 _−_ _fd_ ) donor (21) ( _−fd_ ) acceptor where _ρd_ is the defect density of state at energy _Ed_ . Multiple defects are described by summing over defect label _d_, or performing an integral over a continuous defect spectrum. B Boundary conditions at the contacts For a given system definition, Sesame first solves the equilibrium problem. In equilibrium, the quasi-Fermi level of electrons and holes levels are equal and spatially constant. We choose an energy reference such that in equilibrium, _EFp_ = _EFn_ = 0. The equilibrium problem is therefore reduced to a single variable _φ_ <sup>eq</sup> ( r ). Sesame employs both Dirichlet and von Neumann equilibrium boundary conditions for _φ_ <sup>eq</sup>, which we discuss next. _1_ _System_ _in_ _thermal_ _equilibrium_ Sesame uses Dirichlet boundary conditions as the default. This is the appropriate choice apply when the equilibrium charge density at the contacts is known _a_ _priori_ . This applies for Ohmic and ideal Schottky contacts. For Ohmic boundary conditions, the carrier density is assumed to be equal and opposite to the ionized dopant density at the contact. For an _n_ -type contact with _ND_ ionized donors at the _x_ = 0 contact ( _i.e._ no free excess carriers at the contact), Eq. 6 yields the expression for _φ_ <sup>eq</sup> ( _x_ = 0): _n_ <sup>_x_</sup> <sup>(0</sup> <sup>_, y, z_</sup> <sup>) =</sup> <sup>_qS_</sup> _c_ <sup>0</sup> _n_ _Jn_ <sup>_x_</sup> _Jp_ <sup>_x_</sup> _Jn_ <sup>_x_</sup> _Jp_ <sup>_x_</sup> _c_ <sup>0</sup> _n_ <sup>(</sup> <sup>_n_</sup> <sup>(0</sup> <sup>_, y, z_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_n_</sup> <sup>eq(0</sup> <sup>_, y, z_</sup> <sup>))</sup> (27) _c_ <sup>_L_</sup> _p_ <sup>(</sup> <sup>_p_</sup> <sup>(</sup> <sup>_L, y, z_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_p_</sup> <sup>eq(</sup> <sup>_L, y, z_</sup> <sup>))</sup> (30) _p_ <sup>_x_</sup> <sup>(0</sup> <sup>_, y, z_</sup> <sup>) =</sup> <sup>_−qS_</sup> _c_ <sup>0</sup> _p_ _n_ <sup>_x_</sup> <sup>(</sup> <sup>_L, y, z_</sup> <sup>) =</sup> <sup>_−qS_</sup> _c_ <sup>_L_</sup> _n_ _c_ <sup>0</sup> _p_ <sup>(</sup> <sup>_p_</sup> <sup>(0</sup> <sup>_, y, z_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_p_</sup> <sup>eq(0</sup> <sup>_, y, z_</sup> <sup>))</sup> (28) _c_ <sup>_L_</sup> _n_ <sup>(</sup> <sup>_n_</sup> <sup>(</sup> <sup>_L, y, z_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_n_</sup> <sup>eq(</sup> <sup>_L, y, z_</sup> <sup>))</sup> (29) _p_ <sup>_x_</sup> <sup>(</sup> <sup>_L, y, z_</sup> <sup>) =</sup> <sup>_qS_</sup> _c_ <sup>_L_</sup> _p_ _−_ _χ_ (0 _, y, z_ ) (22) C Numerical implementation In this section we review the set of equations solved by Sesame and provide some details of their implementation in the one-dimensional case. _1_ _Scharfetter-Gummel_ _scheme_ Sesame uses finite differences to solve the driftdiffusion-Poisson equations on a nonuniform grid. Fig. 9 shows our index-labeling convention for sites and links: link _i_ connects site _i_ and site _i_ +1. Site-defined quantities (such as density and electrostatic potential) are labeled with a subscript denoting the site number. Link-defined _qφ_ <sup>eq</sup> (0 _, y, z_ ) = _kBT_ ln - _<u>ND</u>_ _NC_ Similar reasoning yields expressions for _qφ_ <sup>eq</sup> for _p_ -type doping and at the _x_ = _L_ contact. For Schottky contacts, we assume that the Fermi level at the contact is equal to the Fermi level of the metal. This implies that the equilibrium electron density is <u>Quantity</u> <u>Expression</u> <u>Value</u> Density _N_ 0 10 <sup><u>27</u></sup> m <sup>_<u>−</u>_</sup> <sup><u>3</u></sup> FIG. 9. Sites and links of the grid used in the discretization of the drift diffusion and Poisson equations. quantities (such as electrical current and electric field) are labeled with a superscript denoting the link number. We consider a one-dimensional system to illustrate the model discretization. First, we rewrite the current on link _i_ in semi-discretized form: Mobility _µ_ 0 10 <sup>_−_</sup> <sup>4</sup> cm <sup>2</sup> _/_ (V _·_ s) Temperature _T_ 0 300 K Energy _<u>kBT</u>_ 0 0 _._ 0258 eV Length ~~�~~ _ϵ_ 0 _kBT/_ ( _q_ <sup>2</sup> _N_ 0) 3 _._ 78 _×_ 10 <sup>_−_</sup> <sup>10</sup> m Length ~~�~~ _ϵ_ 0 _kBT/_ ( _q_ <sup>2</sup> _N_ 0) 3 _._ 78 _×_ 10 <sup>_−_</sup> <sup>10</sup> m Time _ϵ_ 0 _/_ ( _qµ_ 0 _N_ 0) 5 _._ 5 _×_ 10 <sup>_−_</sup> <sup>14</sup> s Gen. rate density _Nµ_ 0 _E_ 0 _/x_ <sup>2</sup> 0 1 _._ 81 _×_ 10 <sup>32</sup> 1 _/_ �m <sup>2</sup> <sup>2</sup> 0 1 _._ 81 _×_ 10 <sup>32</sup> 1 _/_ �m <sup>2</sup> _·_ s <u>Current</u> _<u>µ</u>_ <u>0</u> _<u>N</u>_ <u>0</u> _<u>kBT/x</u>_ <u>0</u> <u>1</u> _<u>.</u>_ <u>10</u> _<u>×</u>_ <u>10</u> <sup>10</sup> <u>A</u> _<u>/</u>_ <u>m</u> <sup>2</sup> (31) (32) _Jn_ <sup>_i_</sup> <sup>=</sup> <sup>_qµn,ini_</sup> <u>d</u> _<u>EFn</u>_ d _x_ d _EFp_ d _x_ ���� _i_ TABLE II. Quantities used to scale variables to dimensionless form. of a delta function. Numerically, the two-dimensional defect densities of states and the surface recombination velocities are divided by the size of the discretized grid at the position of the plane, and along the direction normal to the plane. _2_ _Newton-Raphson_ _algorithm_ The discretization of Eqs. (1)-(3) leads to the system of three equations for all sites of the discretized space (except boundary sites): _Jp_ <sup>_i_</sup> <sup>=</sup> <sup>_qµp,ipi_</sup> ���� _i_ A key step to ensure numerical stability is to integrate Eqs. (31) and (32) in order to get a completely discretized version of the current _Jn,p_ <sup>_i_</sup> <sup>.</sup> <sup>This</sup> <sup>discretization</sup> <sup>is</sup> <sup>known</sup> as the Scharfetter-Gummel scheme [25]. Here we give the final expressions for the hole current _Jp_ <sup>_i_</sup> <sup>between</sup> <sup>sites</sup> <sup>_i_</sup> and _i_ + 1: <u>2</u> 0 = ∆ _x_ <sup>_i_</sup> + ∆ _x_ <sup>_i−_</sup> <sup>1</sup> <u>2</u> 0 = ∆ _x_ <sup>_i_</sup> + ∆ _x_ <sup>_i−_</sup> <sup>1</sup> _p_ <sup>_i_</sup> <sup>_−_</sup> <sup>_J_</sup> _p_ <sup>_i−_</sup> <sup>1</sup> - _Jp_ <sup>_i_</sup> _p_ - + _Gi −_ _Ri_ (35) _n_ <sup>_i_</sup> <sup>_−_</sup> <sup>_J_</sup> _n_ <sup>_i−_</sup> <sup>1</sup> - _Jn_ <sup>_i_</sup> _n_ - _−_ _Gi_ + _Ri_ (36)  �� _<u>φi</u>_ <u>+1</u> _<u>−</u>_ _<u>φi</u>_ ∆ _x_ <sup>_i_</sup> �� _<u>ϵi</u>_ <u>+1 +</u> _<u>ϵi</u>_ 2 _<u>q</u>_ _Jp_ <sup>_i_</sup> <sup>=</sup> ∆ _x_ <sup>_i_</sup> _<u>ψp,i</u>_ <u>+1</u> _<u>−</u>_ _<u>ψp,i</u>_  <u>�</u> <u>�</u> exp <u>�</u> _−_ exp <u>�</u> _<u>ψp,i</u>_ _kB_ _T_ <u>�</u>   _×_ �� _._ (33) <u>2</u> 0 = _ρi_ + ∆ _x_ <sup>_i_</sup> + ∆ _x_ <sup>_i−_</sup> <sup>1</sup> <sup>_×_</sup> <u>2</u> �� _<u>ϵi</u>_ <u>+1 +</u> _<u>ϵi</u>_ �� _<u>φi</u>_ <u>+1</u> _<u>−</u>_ _<u>φi</u>_ + ∆ _x_ <sup>_i_</sup> + ∆ _x_ <sup>_i−_</sup> <sup>1</sup> <sup>_×_</sup> 2 ∆ _x_ <sup>_i_</sup> _−_ - _<u>ϵi</u>_ <u>+</u> _<u>ϵi−</u>_ <u>1</u> �� _<u>φi −</u>_ _<u>φi−</u>_ <u>1</u> �� (37) 2 ∆ _x_ <sup>_i−_</sup> <sup>1</sup> <u>�</u> _<u>ψp,i</u>_ <u>+1</u> _kB_ _T_ �� (37) �� _<u>φi −</u>_ _<u>φi−</u>_ <u>1</u> ∆ _x_ <sup>_i−_</sup> <sup>1</sup> - - _−EFp,i_ _−_ exp _kBT_ - _−EFp,i_ +1 _kBT_ _µp,i_ exp where _ψp_ = _qφ_ + _χ_ + _Eg_ _−_ _kBT_ ln( _NV_ ) is the effective potential. The electron current _Jp_ <sup>_i_</sup> <sup>is</sup> <sup>given</sup> <sup>by:</sup> Because we exchanged the carrier densities for the quasiFermi levels as the unknowns of the problem, we are therefore looking for the sets _EFn, EFp, φ_ at every grid point. We use the Newton-Raphson method to solve the above set of equations: Given a general nonlinear function _f_ ( _x_ ), we want to find its root _x_ ¯ : _f_ (¯ _x_ ) = 0. Given an initial guess _x_ 1, one can estimate the error _δx_ in this guess, assuming that the function varies linearly all the way to its root  _n_ <sup>_i_</sup> <sup>=</sup> _−_ <sup>_<u>q</u>_</sup> ∆ _Jn_ <sup>_i_</sup> ∆ _x_ <sup>_i_</sup> <u>�</u> _−_ exp <u>�</u> _<u>−qψn,i</u>_ <u>�</u>   _×_ �� _._ (34) _<u>ψn,i</u>_ <u>+1</u> _<u>−</u>_ _<u>ψn,i</u>_  <u>�</u> _<u>−qψn,i</u>_ <u>+1</u> <u>�</u> exp <u>�</u> _<u>−qψn,i</u>_ <u>+1</u> _kB_ _T_ - _<u>EFn,i</u>_ <u>+1</u> _kBT_ _−_ exp _kB_ _T_ - _<u>EFn,i</u>_ _kBT_ _µn,i_ exp where _ψn_ = _qφ_ + _χ_ + _kBT_ ln( _NC_ ). _δx_ = - <u>d</u> _<u>f</u>_ - _−_ 1 d _x_ <sup>(</sup> <sup>_x_</sup> <sup>1)</sup> _f_ ( _x_ 1) _._ (38) In the limit where either _δψn_ ( _p_ ) _≡_ _−q_ - _ψn_ ( _p_ ) _,i_ +1 _−_ _ψn_ ( _p_ ) _,i_ - _/kBT_ or _δEFn_ ( _p_ ) _≡_ _−q_ - _ψn_ ( _p_ ) _,i_ +1 _−_ _ψn_ ( _p_ ) _,i_ - _/kBT_ or _δEFn_ ( _p_ ) _≡_ - _EFn_ ( _p_ ) _,i_ +1 _−_ _EFn_ ( _p_ ) _,i_ +1� _/kBT_ are smaller than 10 <sup>_−_</sup> <sup>5</sup> and 10 <sup>_−_</sup> <sup>9</sup>, respectively, we replace the expressions for the current with a Taylor series expansion of the small parameter. In the expansion, we evaluate the current up to second order in _δψn_ ( _p_ ), and up to first order in _δEFn_ ( _p_ ). Embedding a two-dimensional density into the threedimensional model is formally accomplished with the use - _ψn_ ( _p_ ) _,i_ +1 _−_ _ψn_ ( _p_ ) _,i_ - _/kBT_ are smaller than 10 <sup>_−_</sup> <sup>5</sup> An updated guess is provided by _x_ 2 = _x_ 1 _−_ _δx_ . The assumption of linear variation is key here, as if the guess _x_ 1 is too far from the root, the convergence of the algorithm is very uncertain. In multiple dimensions the derivative in Eq. (38) is replaced by the Jacobian. In this case, Eq. (38) is a matrix equation of the form _δ_ x = _A_ <sup>_−_</sup> <sup>1</sup> F ( x ) (39) where F is a vector function of the unknowns of the problem on all sites of the discretized space, and _A_ is the Jacobian matrix given by _Aij_ = <sup>_<u>∂Fi</u>_</sup> _∂xj_ _._ (40) In case the guess is far from the root we are looking for, the correction given by Eq. 38 can overshoot the solution. A simple way to improve the convergence is to damp the corrections _δ_ x given by Eq. (39). Inspired by an earlier work [32], we found that the following procedure gives good results. For _δ_ xi _>_ 1, we replace _δ_ xi by _δ_ ¯xi = sgn( _δ_ xi ) log (1 + 1 _._ 72 _|δ_ xi _|_ ) _._ (41) We find that convergence of the Newton-Raphson algorithm for this problem requires exact (analytically computed) values for the Jacobian.

섹션 본문 63문단 · 22,471자

(제목 없음)

1This work introduces a new software package "Sesame" for the numerical computation of classical semiconductor equations. It supports 1 and 2-dimensional systems and provides tools to easily implement extended defects such as grain boundaries or sample surfaces. Sesame has been designed to facilitate fast exploration of the system parameter space and to visualize local charge transport properties. Sesame is distributed as a Python package or as a standalone GUI application, and is available at https://pages.nist.gov/sesame/.

I. INTRODUCTION

2Numerical simulations are an essential aspect of photovoltaic research and design. A number of free software packages have been developed and extensively used for solar cell modeling in 1-dimension, including AMPS [1], PC-1D [1], SCAPS [2], and wxAMPS [3]. Freely available 2-dimensional simulation tools are less common [4][5][6], but are necessary for describing systems with lateral inhomogeneity. A common class of such systems are polycrystalline thin film photovoltaics, such as CdTe [7], CIGS [8], and hybrid perovskites [9]. In these materials grain boundaries break the lateral symmetry of the p-n junction, leading to complex system geometries. Lateral inhomogeneity is also often encountered in nanoscale or mesoscopic measurements. The resolution of these measurement is typically achieved using an excitation source or measurement probe with nanoscale spatial extent. Examples include electron beam induced current (EBIC) or scanning Kelvin probe microscopy, which are also often surface sensitive. An appropriate model for these measurements is therefore (at least) 2-dimensional and includes localized excitation/detection sources and relevant boundary conditions.

3There are numerous examples of the use of 2dimensional solar cell modeling in the literature. For instance, the impact of grain boundaries in polycrystalline cells has been previously studied numerically [10][11][12] and analytically [13,14]. Simulations have been used for interpreting experiments with localized excitations such as EBIC [15,16], cathodololuminescence [17,18], and twophoton photoluminescence [19]. Although these works are instructive, nonlinearities in the system response prevent a simple extrapolation of previous results to all possible system configurations of interest. Indeed there remain a number of unresolved questions of fundamental interest in polycrystalline photovoltaics, questions as ba- sic as whether grain boundaries are harmful or beneficial to cell performance [7,20]. It is therefore desirable for researchers to have widespread access to 2-d simulation software.

4In this work we introduce Sesame, a Python package developed by the authors (B. G. and P. M. H.) which solves the drift-diffusion-Poisson equations in 1 and 2 dimensions. Sesame is open source and distributed under the BSD license. Sesame is designed to easily construct systems with planar defects, such as grain boundaries or sample surfaces, which may contain both discrete or a continuum of gap state defects. While full-featured commercial packages allow simulations of complex device configurations together with multiple physical effects, the needs of research sometimes require access to the source code and licensing that enables usage on computing clusters. The program and its code are publicly available at https://pages.nist.gov/sesame/.

5The paper is organized as follows: In Sec. II we present a brief overview of the model and geometry. In Sec. III we compare the output of Sesame to established semiconductor modeling software, including SCAPS [2], Sentaurus [21], and COMSOL Semiconductor Module [22] [23]. In Sec. III we also present a hands-on tutorial script for solving a 2-dimensional system with a grain boundary, and briefly describe the functionality of the GUI. The mathematics underlying the model and technical details of the numerical implementation can be found in the Appendix.

II. OVERVIEW OF THE PHYSICAL MODEL

6The system geometry consists of a semiconductor device connected to contacts at x = 0 and x = L (see Fig. 1). Sesame describes the steady state behavior of this system, which is governed by the drift-diffusion-Poisson equations:

7with the currents J n = −qµ n n ∇φ + qD n ∇n (4)

8where n and p are the respective electron and hole number densities, and φ is the electrostatic potential. J n(p) is the charge current density of electrons (holes). Here, q is the absolute value of the electron charge. ρ is the local charge density, is the dielectric constant of the material, and 0 is the permittivity of free space. µ n,p is the electron/hole mobility, and is assumed to satisfy the Einstein relation: D n,p = k B T µ n,p /q. G is the electron/hole pair generation rate density and R is the recombination rate density. Sesame includes Schockley-Read-Hall, radiative, and Auger recombination mechanisms.

9Sesame is currently limited to describing non-degenerate semiconductors with Boltzmann statistics, and does not include thermionic emission and quantum tunneling at interfaces. These can be important contributions to the transport in heterojunctions [24], so care should be exercised when using Sesame to simulate such systems. Sesame includes Ohmic and Schottky contact boundary conditions, and periodic or hardwall (infinite potential) transverse boundary conditions. Sesame uses finite differences to solve Eqs. (1)(2)(3), and the standard Scharfetter-Gummel scheme for discretizing the current [25]. Details of the implementation can be found in the Appendix.

A. Benchmarks

10We first verify the consistency between Sesame and other software packages. We have compared the output of Sesame with the well-established software packages Sentaurus, COMSOL, and SCAPS for many systems, and present two illustrative examples here. We first consider a 1-d heterojunction consisting of a thin n + -doped layer of CdS and a p-type CdTe. The material parameters are shown in Table I. Fig 2(a) shows the computed J-V curve under uniform illumination of G = 3.3 × 10 20 cm −3 s −1 . We find close agreement between Sesame, Sentaurus, and COMSOL. To quantify the comparison, we define the relative difference between two computed currents J 1 and J 2 as |J 1 − J 2 | / J 1 + J 2 , where denotes the average. The maximum relative difference between Sesame and Sentaurus is 0.2 %, and between Sesame and COMSOL it is 2 %. We observe a more substantial difference between Sesame and SCAPS, with a maximum value of 7 %. In all cases, the maximum discrepancy occurs near V oc , where the current is minimized so that relative differences are maximized. We attribute the larger difference between Sesame and SCAPS to the different interface recombination model used in SCAPS, in which the system variables are multi-valued at the interface and allow for recombination between layers [2].

11We next consider a 2-d homojunction with a single columnar grain boundary (see inset of Fig. 3(a) for system geometry). We use the same bulk parameters as given for CdTe in Table I for both n and p layers, except with τ e = τ h = 10 ns. The thickness of the n + layer is taken to be 100 nm. The grain boundary contains a donor and an acceptor defect, both positioned at 0.4 eV above midgap, with defect density ρ GB = 10 14 cm −2 and equal hole and electron capture cross section σ GB = 10 −14 cm 2 . The grain boundary is positioned in the middle of the system, and terminates at a distance of 100 nm from either contact. For this simulation we again use a uniform gen- . We again find good agreement between Sesame and the other software packages: the largest relative difference between Sesame and Sentaurus is 0.5 %, and between Sesame and COMSOL it is 0.7 %. Fig. 3(b) shows the good agreement obtained for the band diagram along the grain boundary core under short-circuit conditions for the three software packages.

B. Scripting example

12Sesame is run either through a self-contained GUI, or as a python package which is called in scripts. Running sesame with scripts is particularly convenient for running large-scale batch simulations on a computing cluster. Scripting also provides more flexibility in system definition (e.g. continuous grading of electronic parameters and doping). In the distribution, we provide several example scripts which describe standard PV simulations (e.g. J-V , IQE calculations), along with in-depth tutorials in the documentation. Here we give a description of the script used to generate the data of Fig. 3.

13We first import the numpy and sesame packages: import sesame import numpy as np

14Next we define the grids for x and y. We use uniform grids for this example, but generally non-uniform grids are necessary to optimize the simulation accuracy and speed (non-uniform grids are used in the simulation of Fig. 3). (Note: Sesame assumes all lengths are given in units of cm.)

15x = np.linspace(0,3e-4,100) y = np.linspace(0,3e-4,100)

16We create the system with the Builder function. The input to Builder are the x and y grids. The output is an object sys which contains all the information needed to describe the simulation.

17Additional simulation settings are set by calling various methods of sys, as we show below. Next we define the material properties with a python dictionary object (called mat in this example). The dictionary key names correspond to standard definitions. The dictionary key Et represents the energetic position of bulk recombination centers, as measured from the intrinsic energy level, and tau_e/tau_h are the electron/hole lifetimes. The dependence of the Schockley-Read-Hall recombination on these parameters can be found in the Appendix. The material is added to the system using the add_material function, which takes the mat dictionary as input. Note that add_material is a method of the sys object, and is called with the command:

18To build a p-n junction we add a position-dependent doping profile to the system. We must define functions which describe the different doping regions; for this example, these functions are called n_region and p_region. They return True when the input variable position belongs to the region. For this example the two regions are delimited at the junction coordinate which corresponds to x = 10 −5 cm. Next we specify the contact boundary conditions. For this example, we specify Ohmic contacts with the function contact_type. Note the order of input arguments is left contact (x = 0) type first, right contact (x = L) type second:

19sys.contact_type('Ohmic','Ohmic')

20We next specify the value of recombination velocity for electrons and holes at both contacts (Note: Sesame assumes the units of velocity are cm/s). For this example, both contacts only collect majority carriers. This is accomplished with the function contact_S:

21Sn_L, Sp_L, Sn_R, Sp_R = 1e7, 0, 0, 1e7 sys.contact_S(Sn_L, Sp_L, Sn_R, Sp_R)

22Next we add a grain boundary. We must specify the grain boundary defect energy level EGB (note the defect energy level is measured from the intrinsic energy level), the electron and hole capture cross sections sigmaeGB and sigmahGB, the defect density rhoGB, and the endpoints of the line defining the grain boundary p1, p2. These are input arguments to the function add_line_defects which creates a grain boundary. We also specify the charge transition states of the defect with the function input transition. In this case the specified charge states are (+1,-1), corresponding to having a donor and acceptor at the same energy level. The function IVcurve returns an array jset containing the computed current density for each applied voltage. The IVcurve function also saves output files with seedname "GB_JV" concatenated with a suffix labeling the applied voltage index. These output files contain objects describing the simulation settings and the solution arrays. By default these files are compressed data files containing python Pickle objects (.gzip files). There is also an option to output the data in Matlab format (.mat files). Sesame includes an Analyzer object which contains several functions for computing quantities of interest from the solution, such as current densities, total recombination, carrier densities, and others. We refer the reader to the online documentation for a detailed list of all these functions.

C. GUI

23Use of the standalone GUI as an alternative to scripting can be more convenient for small-scale calculations, or for those without access to a python distribution. Simulation settings can be saved and loaded, and the GUI also provides an interactive python prompt. The GUI is divided into three tabs, as shown in Fig. 4: 1. The System tab contains fields to define the system geometry and material parameters (see Fig. 5). 2. The Simulation tab lets the user specify which parameter is varied: either the voltage is swept, or a user-defined variable related to the generation rate density is swept. The boundary conditions and output file information is also set here, and the simulation is launched from this tab. The program output is provided so that the user can follow the progress of the calculations.

243. The Analysis tab enables the user to plot the output of the simulation, and to save and export plotted data (see Figs. 6 and 7).

25Sesame is distributed with a number of sample input files for setting up standard PV simulations in the GUI. More detailed documentation for the GUI is included in the distribution.

IV. CONCLUSION

26Modeling tools are essential for describing and understanding polycrystalline materials and nanoscale measurements. System behavior for complex, 2-dimensional geometries can be drastically different than the textbook 1-dimensional p-n junction model. Numerical simulations provide the capability to explore and develop in-FIG. 6. Panel from Analysis tab of the GUI. Data files can be selected for analysis, and surface plots of system variables and observables can be generated for 2-dimensional systems. A linear plot with two modes is available. In "loop values" mode, a scalar (such as total current) is plotted versus the looped parameters. In the "position" mode, a system variable or observable from a single solution is plotted versus spatial coordinate. tuition about this rather unchartered territory. Our aim in releasing Sesame is to provide the research community with a free, easy-to-use resource which will enable broader use of simulation in complex photovoltaic systems. There are opportunities for additional functionalities (e.g. time-dependence, small-signal analysis, more advanced interface transport models) and further optimizations (e.g. use of Cython) of the code. Our intent in releasing the fully documented source code is to provide users the option to make these and other additions as their research needs require. An additional feature not discussed here is 3-dimensional modeling, which is included in the distribution as an untested feature which will be investigated further in future work. In this section we provide a full description of the equations solved by Sesame. These are fairly standard and can be found in textbooks [26][27][28][29], but we include them here for the sake of completeness and to specify notation and conventions used in the code. We first write densities in terms of quasi-Fermi levels, denoted by E Fn and E Fp for electrons and holes, respectively. Since we assume Boltzmann statistics (i.e. a non-degenerate semiconductor), the carrier densities are related to quasi-Fermi levels by:

27where E g is the material band gap, χ is the electron affinity, and N C,V are the conduction, valence band effective density of states, respectively. All quantities except temperature can vary with position.

28The electron and hole current can be expressed in terms of the spatial gradient of the quasi-Fermi levels [30]:

291 Recombination

30Sesame includes Shockley-Read-Hall, radiative and Auger recombination. The steady-state Shockley-Read-Hall recombination rate density is given by:

31where n i is the material intrinsic carrier density, given by

32). The equilibrium Fermi energy at which n = p = n i is the instrinsic energy level E i . We specify the defect energy level E T relative to E i (see Fig. 8), so that the expressions for n 1 and p 1 in Eq. 10 are given by:

33τ n,(p) is the bulk lifetime for electrons, holes. It is given by where N T is the three-dimensional trap density, v th n,p is the thermal velocity of carriers (v th n,p = 3k B T /m n,p with m n,p the electron/hole effective mass), and σ n,p is the capture cross-section for electrons, holes.

34The radiative recombination has the form

35where B is the radiative recombination coefficient of the material. The Auger mechanism has the form

36where C n (C p ) is the electron (hole) Auger coefficient.

Planar defects

37Sesame has been created with the intent of studying extended defects in solar cells, such as grain boundaries and sample surfaces. These extended planar defects are represented by a point in a 1-d model, a line in a 2-d model, and a plane in a 3-d model. The extended defect energy level spectrum can be discrete or continuous. For a discrete spectrum, we label the defect with the subscript d. The occupancy of the defect level f d is given by [31]

38where n (p) is the electron (hole) density at the spatial location of the defect, S n , S p are recombination velocity parameters for electrons and holes respectively. n d and p d are

39where E d is calculated from the intrinsic level E i . The electron/hole recombination velocity are related to the electron/hole capture cross section and the defect density ρ d according to:

40The defect recombination is of Shockley-Read-Hall form:

41.

42The charge density given of a single defect depends on the defect type (acceptor vs. donor)

43acceptor (21) where ρ d is the defect density of state at energy E d . Multiple defects are described by summing over defect label d, or performing an integral over a continuous defect spectrum.

44B Boundary conditions at the contacts For a given system definition, Sesame first solves the equilibrium problem. In equilibrium, the quasi-Fermi level of electrons and holes levels are equal and spatially constant. We choose an energy reference such that in equilibrium, E Fp = E Fn = 0. The equilibrium problem is therefore reduced to a single variable φ eq (r). Sesame employs both Dirichlet and von Neumann equilibrium boundary conditions for φ eq , which we discuss next.

System in thermal equilibrium

45Sesame uses Dirichlet boundary conditions as the default. This is the appropriate choice apply when the equilibrium charge density at the contacts is known a priori. This applies for Ohmic and ideal Schottky contacts. For Ohmic boundary conditions, the carrier density is assumed to be equal and opposite to the ionized dopant density at the contact. For an n-type contact with N D ionized donors at the x = 0 contact (i.e. no free excess carriers at the contact), Eq. 6 yields the expression for φ eq (x = 0):

46Similar reasoning yields expressions for qφ eq for p-type doping and at the x = L contact. For Schottky contacts, we assume that the Fermi level at the contact is equal to the Fermi level of the metal. This implies that the equilibrium electron density is

47where Φ M is the work function of the metal contact. Eq. 6 then yields the expression for φ eq (shown here for the x = 0 contact):

48An identical expression applies for the x = L contact. Sesame also has an option for von Neumann boundary conditions, where it's assumed that the electrostatic field at the contact vanishes:

49The equilibrium potential φ eq determines the equilibrium densities n eq , p eq according to Eqs. 6 and 7 with E Fn = E Fp = 0. quantities (such as electrical current and electric field) are labeled with a superscript denoting the link number.

50We consider a one-dimensional system to illustrate the model discretization. First, we rewrite the current on link i in semi-discretized form:

51A key step to ensure numerical stability is to integrate Eqs. (31) and (32) in order to get a completely discretized version of the current J i n,p . This discretization is known as the Scharfetter-Gummel scheme [25]. Here we give the final expressions for the hole current J i p between sites i and i + 1:

52where ψ p = qφ + χ + E g − k B T ln(N V ) is the effective potential. The electron current J i p is given by:

53where ψ n = qφ + χ + k B T ln(N C ).

54In the limit where either δψ n(p) ≡ −q ψ n(p),i+1 − ψ n(p),i /k B T or δE F n(p) ≡ E F n(p) ,i+1 − E F n(p) ,i+1 /k B T are smaller than 10 −5 and 10 −9 , respectively, we replace the expressions for the current with a Taylor series expansion of the small parameter. In the expansion, we evaluate the current up to second order in δψ n(p) , and up to first order in δE F n(p) .

55Embedding a two-dimensional density into the threedimensional model is formally accomplished with the use of a delta function. Numerically, the two-dimensional defect densities of states and the surface recombination velocities are divided by the size of the discretized grid at the position of the plane, and along the direction normal to the plane.

Newton-Raphson algorithm

56The discretization of Eqs. (1)-(3) leads to the system of three equations for all sites of the discretized space (except boundary sites):

57Because we exchanged the carrier densities for the quasi-Fermi levels as the unknowns of the problem, we are therefore looking for the sets E Fn , E Fp , φ at every grid point. We use the Newton-Raphson method to solve the above set of equations: Given a general nonlinear function f (x), we want to find its rootx : f (x) = 0. Given an initial guess x 1 , one can estimate the error δx in this guess, assuming that the function varies linearly all the way to its root

58An updated guess is provided by x 2 = x 1 − δx. The assumption of linear variation is key here, as if the guess x 1 is too far from the root, the convergence of the algorithm is very uncertain.

59In multiple dimensions the derivative in Eq. (38) is replaced by the Jacobian. In this case, Eq. (38) is a matrix equation of the form

60where F is a vector function of the unknowns of the problem on all sites of the discretized space, and A is the Jacobian matrix given by

61We find that convergence of the Newton-Raphson algorithm for this problem requires exact (analytically computed) values for the Jacobian.

62In case the guess is far from the root we are looking for, the correction given by Eq. 38 can overshoot the solution. A simple way to improve the convergence is to damp the corrections δx given by Eq. (39). Inspired by an earlier work [32], we found that the following procedure gives good results. For δx i > 1, we replace δx i by δx i = sgn(δx i ) log (1 + 1.72|δx i |) .

63(41)

참고문헌 30건

  1. Analysis and simulation of semiconductor devices Mathematics and Computers in Simulation · Elsevier BV · 1985 10.1016/0378-4754(85)90054-0
  2. Computational Electronics: Semiclassical and Quantum Device Modeling and Simulation 2010
  3. Solar Cell Device Physics Elsevier eBooks · Elsevier BV · 2010 10.1016/c2009-0-19749-0
  4. Quantitative Determination of Grain-Boundary Recombination Velocity in CdTe by Cathodoluminescence Measurements and Numerical Simulations IEEE Journal of Photovoltaics · Institute of Electrical and Electronics Engineers · 2015 10.1109/jphotov.2015.2478061
  5. The role of drift, diffusion, and recombination in time‐resolved photoluminescence of CdTe solar cells determined through numerical simulation Progress in Photovoltaics Research and Applications · Wiley · 2013 10.1002/pip.2369
  6. A self-consistent iterative scheme for one-dimensional steady state transistor calculations IEEE Transactions on Electron Devices · Institute of Electrical and Electronics Engineers · 1964 10.1109/t-ed.1964.15364
  7. The numerical solution of poisson's equation for two-dimensional semiconductor devices Solid-State Electronics · Elsevier BV · 1976 10.1016/0038-1101(76)90177-5
  8. Grain boundaries in Cu(In, Ga)(Se, S)2 thin-film solar cells Applied Physics A · Springer Science+Business Media · 2008 10.1007/s00339-008-4978-0
  9. A new simulation software of solar cells—wxAMPS Solar Energy Materials and Solar Cells · Elsevier BV · 2011 10.1016/j.solmat.2011.10.010
  10. Modelling polycrystalline semiconductor solar cells Thin Solid Films · Elsevier BV · 2000 10.1016/s0040-6090(99)00825-1
  11. Grain-boundary recombination in Cu(In,Ga)Se2 solar cells Journal of Applied Physics · American Institute of Physics · 2005 10.1063/1.2133906
  12. Numerical modeling of heterojunctions including the thermionic emission mechanism at the heterojunction interface IEEE Transactions on Electron Devices · Institute of Electrical and Electronics Engineers · 1990 10.1109/16.52447
  13. Models for numerical device simulations of crystalline silicon solar cells—a review Journal of Computational Electronics · Springer Science+Business Media · 2011 10.1007/s10825-011-0367-6
  14. Grain-Boundary Physics in Polycrystalline<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:msub><mml:mi>CuInSe</mml:mi><mml:mn>2</mml:mn></mml:msub></mml:math>Revisited: Experiment and Theory Physical Review Letters · American Physical Society · 2006 10.1103/physrevlett.96.205501
  15. The Shockley-like equations for the carrier densities and the current flows in materials with a nonuniform composition Solid-State Electronics · Elsevier BV · 1980 10.1016/0038-1101(80)90167-7
  16. Statistics of the Recombinations of Holes and Electrons Physical Review · American Institute of Physics · 1952 10.1103/physrev.87.835
  17. Improved modeling of grain boundary recombination in bulk and <i>p</i>-<i>n</i> junction regions of polycrystalline silicon solar cells Journal of Applied Physics · American Institute of Physics · 1996 10.1063/1.363806
  18. Physics and chemistry of CdTe/CdS thin film heterojunction photovoltaic devices: fundamental and critical aspects Energy & Environmental Science · Royal Society of Chemistry · 2013 10.1039/c3ee41981a
  19. Solar cell device physics Materials Research Bulletin · Elsevier BV · 1982 10.1016/0025-5408(82)90173-8
  20. Benefit of Grain Boundaries in Organic–Inorganic Halide Planar Perovskite Solar Cells The Journal of Physical Chemistry Letters · American Chemical Society · 2015 10.1021/acs.jpclett.5b00182
  21. The role of transition radiation in cathodoluminescence imaging and spectroscopy of thin-foils Ultramicroscopy · Elsevier BV · 2016 10.1016/j.ultramic.2016.05.002
  22. Grain boundaries in CdTe thin film solar cells: a review Semiconductor Science and Technology · IOP Publishing · 2016 10.1088/0268-1242/31/9/093001
  23. Charged grain boundaries reduce the open-circuit voltage of polycrystalline solar cells—An analytical description Journal of Applied Physics · American Institute of Physics · 2016 10.1063/1.4972028
  24. Depletion region surface effects in electron beam induced current measurements Journal of Applied Physics · American Institute of Physics · 2016 10.1063/1.4962016
  25. The Impact of Charged Grain Boundaries on CdTe Solar Cell: EBIC Measurements Not Predictive of Device Performance IEEE Journal of Photovoltaics · Institute of Electrical and Electronics Engineers · 2016 10.1109/jphotov.2016.2631298
  26. Quantitative Theory of the Grain Boundary Impact on the Open-Circuit Voltage of Polycrystalline Solar Cells ACS Applied Energy Materials · American Chemical Society · 2018 10.1021/acsaem.8b01246
  27. PC2D: A Circular-Reference Spreadsheet Solar Cell Device Simulator IEEE Journal of Photovoltaics · Institute of Electrical and Electronics Engineers · 2011 10.1109/jphotov.2011.2166376
  28. Charged Grain Boundaries and Carrier Recombination in Polycrystalline Thin-Film Solar Cells Physical Review Applied · American Physical Society · 2017 10.1103/physrevapplied.8.054026
  29. Analysis and Simulation of Semiconductor Devices 1984 10.1007/978-3-7091-8752-4
  30. Semiconductor device fundamentals Addison-Wesley eBooks · Addison-Wesley · 1996