Overview – Constants, Types, Constructors and Methods

Constants, Types and Constructors

Methods

Description of Constant, Types, Constructors and Methods

Constants, Types and Constructors

ChargeTransport.BulkRecombinationType
mutable struct BulkRecombination

A struct holding all necessary information for building bulk recombination. With help of this constructor we can read out the indices the user chooses for electron and hole quasi Fermi potentials.

  • iphin::Int64: Index for FVM construction of electron quasi Fermi potential.
  • iphip::Int64: Index for FVM construction of hole quasi Fermi potential.
  • bulk_recomb_Auger::Bool: Boolean for present Auger recombination in bulk.
  • bulk_recomb_radiative::Bool: Boolean for present radiative recombination in bulk.
  • bulk_recomb_SRH::Union{Type{SRHOff}, Type{ChargeTransport.SRHStationary}, Type{SRHTrapsStationary}, Type{SRHTrapsTransient}}: DataType for present SRH recombination in bulk. This needs to be a Type due to cases with or without mobile traps.
  • SRH_2species_trap::Union{Type{SRH2SpeciesPresentTrapDens}, Type{SRHOff}, Type{ChargeTransport.SRHStationary}}: Data type with which you can include a stationary trap density to the right-hand side of the Poisson equation. This stationary trap density corresponds to the number of unoccupied trap states.
source
ChargeTransport.DataType
mutable struct Data{TFuncs<:Function, TVoltageFunc<:Function, TGenerationData<:Union{Array{Float64, 3}, Function, VecOrMat{Float64}}}

A struct holding all data information including model and numerics information, but also all physical parameters for a drift-diffusion simulation of a semiconductor device.

  • F::Vector{TFuncs} where TFuncs<:Function: An array with the corresponding distribution function $\mathcal{F}_\alpha$ for all carriers $\alpha$.
  • qFModel::Union{Type{ContQF}, Type{DiscontQF}}: An datatype containing the information, whether at least on quasi Fermi potential is assumend to be continuous or discontinuous.
  • boundaryType::Vector{Union{Type{InterfaceNone}, Type{InterfaceRecombination}, Type{MixedOhmicSchottkyContact}, Type{OhmicContact}, Type{SchottkyBarrierLowering}, Type{SchottkyContact}}}: An array of DataTypes with the type of boundary model for each boundary (interior and exterior).
  • contactVoltageFunction::Vector{TVoltageFunc} where TVoltageFunc<:Function: An array containing predefined functions for the applied bias in dependance of time at each outer boundary.
  • bulkRecombination::BulkRecombination: A struct containing information concerning the bulk recombination model.
  • generationData::Union{Array{Float64, 3}, Function, VecOrMat{Float64}}: A function/Array containing the user-specific photogeneration rate. It can be a function which is specified in the user example or an array which is read in and calculatd with, e.g., an external software.
  • isContinuous::Vector{Bool}: An array containing information on whether charge carriers are continuous or discontinuous. This is needed for building the AbstractQuantities which handle the indices of charge carriers on different regions.
  • chargeCarrierList::Vector{Union{Int64, VoronoiFVM.ContinuousQuantity{Int32}, VoronoiFVM.DiscontinuousQuantity{Int32}, VoronoiFVM.InterfaceQuantity{Int32}}}: This list stores all charge carriers with the correct type needed for VoronoiFVM.
  • electricCarrierList::Vector{Int64}: This list stores all electric carrier indices, i.e. the one of electrons and holes.
  • ionicCarrierList::Vector{ChargeTransport.IonicCarrier}: This list contains all defined ionic carriers as a struct of Type IonicCarrier with all needed information on the ionic carriers (can be either ions or ion vacancies).
  • trapCarrierList::Vector{ChargeTransport.TrapCarrier}: This list contains all defined trap carriers for the SRH recombination as a struct of Type TrapCarrier with all needed information on the trap carriers.
  • AuxTrapValues::ChargeTransport.AuxiliaryStationaryTrapValues: A struct which contains auxiliary trap values for the stationary setting.
  • index_psi::Union{Int64, VoronoiFVM.ContinuousQuantity{Int32}, VoronoiFVM.DiscontinuousQuantity{Int32}, VoronoiFVM.InterfaceQuantity{Int32}}: This variable stores the index of the electric potential. Based on the user choice we have with this new type the opportunity to simulate discontinuous unknowns.
  • barrierLoweringInfo::ChargeTransport.BarrierLoweringSpecies: This is a struct containing all information necessary to simulate Schottky Barrier Lowering.
  • fluxApproximation::Vector{Union{Type{DiffusionEnhanced}, Type{DiffusionEnhancedModifiedDrift}, Type{ExcessChemicalPotential}, Type{ExcessChemicalPotentialGraded}, Type{GeneralizedSG}, Type{ScharfetterGummel}, Type{ScharfetterGummelGraded}}}: A DataType for the flux discretization method.
  • calculationType::Union{Type{InEquilibrium}, Type{OutOfEquilibrium}}: A DataType for equilibrium or out of equilibrium calculations.
  • modelType::Union{Type{Stationary}, Type{Transient}}: A DataType for transient or stationary calculations.
  • generationModel::Union{Type{GenerationBeerLambert}, Type{GenerationNone}, Type{GenerationUniform}, Type{GenerationUserDefined}}: A DataType for for generation model.
  • λ1::Float64: An embedding parameter used to solve the nonlinear Poisson problem, where for λ1 = 0 the right hand-side is set to zero whereas for for λ1 = 1 we have a full space charge density.
  • λ2::Float64: An embedding parameter for the generation rate.
  • λ3::Float64: An embedding parameter for an electrochemical reaction.
  • ohmicContactModel::Union{Type{OhmicContactDirichlet}, Type{OhmicContactRobin}}: Possibility to change the implementation of the ohmic contact boundary model for the electric potential (Dirichlet or Robin)
  • tempBEE1::Vector{Float64}: Within this template informations concerning the band-edge energy of each carrier is stored locally which saves allocations. We have two of such templates due to the two point flux approximation schemes.
  • tempBEE2::Vector{Float64}: See the description of tempBEE1.
  • tempDOS1::Vector{Float64}: Within this template informations concerning the effective DOS of each carrier is stored locally which saves allocations. We have two of such templates due to the two point flux approximation schemes.
  • tempDOS2::Vector{Float64}: See the desciption of tempDOS2.
  • params::Params: A struct holding all region dependent parameter information. For more information see struct Params.
  • paramsnodal::ParamsNodal: A struct holding all space dependent parameter information. For more information see struct ParamsNodal.
source
ChargeTransport.DataMethod
Data(
    grid,
    numberOfCarriers;
    contactVoltageFunction,
    generationData,
    statfunctions
) -> Data{StandardFuncSet, T, Vector{Float64}} where T<:Function

Simplified constructor for Data which only takes the grid and the numberOfCarriers as argument. Here, all necessary information including the physical parameters, but also some numerical information are located.

source
ChargeTransport.DiffusionEnhancedType
abstract type DiffusionEnhanced

Abstract type for diffusion enhanced flux discretization, check M. Bessemoulin-Chatard, “A finite volume scheme for convection–diffusion equations with nonlinear diffusion derived from the Scharfetter–Gummel scheme”, Numerische Mathematik, vol. 121, pp. 637–670, 2012.

source
ChargeTransport.ExcessChemicalPotentialType
abstract type ExcessChemicalPotential

Abstract type for excess chemical potential flux discretization, check Z. Yu, and R. Dutton, “SEDAN III – A one-dimensional device simulator”, http://www-tcad.stanford.edu/tcad/programs/sedan3.html, 1988.

source
ChargeTransport.ExcessChemicalPotentialGradedType
abstract type ExcessChemicalPotentialGraded

Abstract type for excess chemical potential flux discretization for graded effective density of states and/or graded band-edge energies. This means, use this flux when at least one of these parameters is assumed to be space-dependent.

source
ChargeTransport.GeneralizedSGType
abstract type GeneralizedSG

Abstract type for generalized Scharfetter-Gummel flux discretization. This flux approximation results in an implicit equation which needs to be solved and is exact for all Blakemore type statistics functions with abritary γ, check T. Koprucki and K. Gärtner. “Discretization scheme for drift-diffusion equations with strong diffusion enhancement”. In: 12th International Conference on Numerical Simulation of Optoelectronic Devices (NUSOD). 2012, pp. 103–104.

source
ChargeTransport.ParamsType
mutable struct Params

A struct holding the physical region dependent parameters for a drift-diffusion simulation of a semiconductor device.

  • numberOfNodes::Int64: Number of nodes used for the disretization of the domain $\mathbf{\Omega}$.
  • numberOfRegions::Int64: Number of subregions $\mathbf{\Omega}_k$ within the domain $\mathbf{\Omega}$.
  • numberOfBoundaryRegions::Int64: Number of boundary regions $(\partial \mathbf{\Omega})_k$ such that $\partial \mathbf{\Omega} = \cup_k (\partial \mathbf{\Omega})_k$. Note that here are inner and outer boundaries calculated.
  • numberOfCarriers::Int64: Number of moving charge carriers.
  • invertedIllumination::Int64: Parameter for the direction of illumination. If illumination is coming from the left, then set this value to 1. Otherwise, if the illumination comes from the right, set this value to -1.
  • temperature::Float64: A given constant temperature.
  • UT::Float64: The thermal voltage, which reads $U_T = k_B T / q$.
  • γ::Float64: The parameter of the Blakemore statistics (needed for the generalizedSG flux).
  • r0::Float64: Prefactor of electro-chemical reaction of internal boundary conditions.
  • prefactor_SRH::Float64: Prefactor for stationary SRH recombination.
  • generationPeak::Float64: Parameter for the shift of generation peak of the Beer-Lambert generation profile.
  • SchottkyBarrier::Vector{Float64}: An array for the given Schottky barriers at present Schotkky contacts.
  • contactVoltage::Vector{Float64}: An array containing a constant value for the applied voltage.
  • bψEQ::Vector{Float64}: An array containing a constant value for the electric potential in case of Dirichlet boundary conditions.
  • chargeNumbers::Vector{Float64}: An array with the corresponding charge numbers $z_\alpha$ for all carriers $\alpha$.
  • bBandEdgeEnergy::Matrix{Float64}: An array with the corresponding boundary band-edge energy values $E_\alpha$ in each region for each carrier $\alpha$.
  • bDensityOfStates::Matrix{Float64}: An array with the corresponding boundary effective density of states values $N_\alpha$ for each carrier $\alpha$.
  • bMobility::Matrix{Float64}: A 2D array with the corresponding boundary mobility values $\mu_\alpha$ in each boundary region for each carrier $\alpha$.
  • bDoping::Matrix{Float64}: A 2D array with the corresponding boundary doping values for each carrier $\alpha$.
  • bVelocity::Matrix{Float64}: A 2D array with the corresponding boundary velocity values for each carrier $\alpha$, when assuming Schottky contacts.
  • bReactionCoefficient::Matrix{Float64}: An array to define the reaction coefficient at internal boundaries.
  • recombinationSRHvelocity::Matrix{Float64}: A 2D array with the corresponding recombination surface boundary velocity values for electrons and holes.
  • bRecombinationSRHTrapDensity::Matrix{Float64}: A 2D array with the corresponding recombination surface boundary density values for electrons and holes.
  • bRecombinationSRHLifetime::Matrix{Float64}: A 2D array with the corresponding recombination surface recombination velocities.
  • bDensityEQ::Matrix{Float64}: A 2D array containing the equilibrium density of electric charge carriers at the boundary.
  • doping::Matrix{Float64}: A 2D array with the corresponding doping values for each carrier $\alpha$ on each region.
  • densityOfStates::Matrix{Float64}: A 2D array with the corresponding effective density of states values $N_\alpha$ for each carrier $\alpha$ on each region.
  • bandEdgeEnergy::Matrix{Float64}: A 2D array with the corresponding band-edge energy values $E_\alpha$ for each carrier $\alpha$ on each region.
  • mobility::Matrix{Float64}: A 2D array with the corresponding mobility values $\mu_\alpha$ for each carrier $\alpha$ on each region.
  • recombinationSRHLifetime::Matrix{Float64}: A 2D array with the corresponding SRH lifetimes $\tau_n, \tau_p$ for electrons and holes.
  • recombinationSRHTrapDensity::Matrix{Float64}: A 2D array with the corresponding time-independent SRH trap densities $n_{\tau}, p_{\tau}$ for electrons and holes.
  • recombinationAuger::Matrix{Float64}: A 2D array with the corresponding Auger coefficients for electrons and holes.
  • dielectricConstant::Vector{Float64}: A region dependent dielectric constant.
  • dielectricConstantImageForce::Vector{Float64}: A region dependent image force dielectric constant.
  • generationIncidentPhotonFlux::Vector{Float64}: A region dependent array for the prefactor in the generation process which is the incident photon flux.
  • generationUniform::Vector{Float64}: A region dependent array for an uniform generation rate.
  • generationAbsorption::Vector{Float64}: A region dependent array for the absorption coefficient in the generation process.
  • recombinationRadiative::Vector{Float64}: A region dependent array for the radiative recombination rate.
source
ChargeTransport.ParamsMethod
Params(grid, numberOfCarriers) -> Params

Simplified constructor for Params which only takes the grid and the numberOfCarriers as argument.

source
ChargeTransport.ParamsNodalType
mutable struct ParamsNodal

A struct holding the physical nodal, i.e. space-dependent parameters for a drift-diffusion simulation of a semiconductor device.

  • dielectricConstant::Vector{Float64}: A node dependent dielectric constant.
  • doping::Vector{Float64}: A 1D array with the corresponding doping values on each node.
  • mobility::Matrix{Float64}: A 2D array with the corresponding mobility values $\mu_\alpha$ for each carrier $\alpha$ on each node.
  • densityOfStates::Matrix{Float64}: A 2D array with the corresponding effective density of states values $N_\alpha$ for each carrier $\alpha$ on each node.
  • bandEdgeEnergy::Matrix{Float64}: A 2D array with the corresponding band-edge energy values $E_\alpha$ for each carrier $\alpha$ on each node.
source
ChargeTransport.ParamsNodalMethod
ParamsNodal(grid, numberOfCarriers) -> ParamsNodal

Simplified constructor for ParamsNodal which only takes the grid and the numberOfCarriers as argument.

source
ChargeTransport.ScharfetterGummelType
abstract type ScharfetterGummel

Abstract type for Scharfetter-Gummel flux discretization. Choose this one, when the Boltzmann statistics function is chosen as statistics, check D. Scharfetter and H. Gummel, “Large-signal analysis of a silicon Read diode oscillator”, IEEE Trans. Electr. Dev., vol. 16, pp. 64–77, 1969.

source
ChargeTransport.ScharfetterGummelGradedType
abstract type ScharfetterGummelGraded

Abstract type for Scharfetter-Gummel flux discretization for graded effective density of states and/or graded band-edge energies. This means, use this flux when at least one of these parameters is assumed to be space-dependent.

source
ChargeTransport.SystemType
mutable struct System

A struct holding all information necessary for a drift-diffusion type system.

  • data::Data: A struct holding all data information, see Data
  • fvmsys::VoronoiFVM.AbstractSystem: A struct holding system information for the finite volume system.
source
ChargeTransport.SystemMethod
System(grid, data; kwargs...)

System constructor which builds all necessary information needed based on the input parameters with special regard to the quasi Fermi potential model. This is the main struct in which all information on the input data, but also on the solving system, are stored.

source
ChargeTransport.TrapCarrierType
mutable struct TrapCarrier

A struct holding all information necessary for enabling traps in the SRH recombination. With help of this constructor we can read out the index the user chooses for trap quasi Fermi potentials and the respective regions in which they are defined.

  • trapCarrier::Int64: Index of trap carrier user defines.
  • regions::Vector{Int64}: Corresponding regions where trap carrier is assumed to be present.
source

Methods

ChargeTransport.BlakemoreMethod
Blakemore(x::Real, γ::Real) -> Any

The Blakemore approximation $1/(\exp(-x) + γ)$ with variable real scalar $γ$, see J. S. Blakemore. “The Parameters of Partially Degenerate Semiconductors”. In: Proceedings of the Physical Society. Section A 65 (1952), pp. 460–461.

source
ChargeTransport.FermiDiracMinusOneMethod
FermiDiracMinusOne(x::Real) -> Any

The Fermi-Dirac integral of order $-1$ which reads $1/(\exp(-x) + 1)$, see J.S. Blakemore, Approximations for Fermi-Dirac integrals, especially the function $F_{1/2} (\eta)$ used to describe electron density in a semiconductor, Solid-State Electronics 25 (11) (1982) 1067 – 1076.

source
ChargeTransport.FermiDiracOneHalfBednarczykMethod
FermiDiracOneHalfBednarczyk(x::Real) -> Any

The incomplete Fermi-Dirac integral of order 1/2, implemented according to [Bednarczyk1978, "The Approximation of the Fermi-Dirac integral $F_{1/2}(\eta)$"].

source
ChargeTransport.FermiDiracOneHalfTeSCAMethod
FermiDiracOneHalfTeSCA(x::Real) -> Any

The incomplete Fermi-Dirac integral of order 1/2, implemented according to the software package TeSCA, see https://wias-berlin.de/software/index.jsp?lang=1&id=TeSCA.

Modified to use log1p(x)=log(1+x).

source
ChargeTransport.RHSPoisson!Method
RHSPoisson!(f, u, node, data, ipsi) -> Any

Function which builds right-hand side of Poisson equation, i.e. which builds the space charge density.

source
ChargeTransport.add_trap_density_Poisson!Method
add_trap_density_Poisson!(; data, zt, Nt)

This method includes traps for a simplified model, where the trap carriers are not considered as additional carrier with an own continuity equation. In this case the trap density is additionally added to the right-hand side of Poisson equation.

source
ChargeTransport.bflux!Method
bflux!(f, u, bedge, data)

Master bflux! function. This is the function which enters VoronoiFVM and hands over for each boundary the flux within the boundary.

source
ChargeTransport.breaction!Method
breaction!(f, u, bnode, data) -> Any

Master breaction! function. This is the function which enters VoronoiFVM and hands over for each boundary the chosen boundary model.

source
ChargeTransport.breaction!Method
breaction!(
    f,
    u,
    bnode,
    data,
    _::Type{OhmicContactDirichlet}
)

Creates ohmic boundary conditions via Dirichlet BC for the electrostatic potential $\psi$

$\psi = \psi_0 + U$,

where $\psi_0$ contains some given value and $U$ is an applied voltage.

$f[\psi] = -q/\delta \sum_\alpha{ z_\alpha (n_\alpha - C_\alpha) },$

where $C_\alpha$ corresponds to some doping w.r.t. the species $\alpha$.

The boundary conditions for electrons and holes are dirichlet conditions, where

$\varphi_{\alpha} = U.$`

source
ChargeTransport.breaction!Method
breaction!(f, u, bnode, data, _::Type{OhmicContactRobin})

Creates ohmic boundary conditions via a penalty approach with penalty parameter $\delta$. For example, the right-hand side for the electrostatic potential $\psi$ is implemented as

$f[\psi] = -q/\delta ( (p - N_a) - (n - N_d) )$,

assuming a bipolar semiconductor. In general, we have for some given charge number $z_\alpha$

$f[\psi] = -q/\delta \sum_\alpha{ z_\alpha (n_\alpha - C_\alpha) },$

where $C_\alpha$ corresponds to some doping w.r.t. the species $\alpha$.

The boundary conditions for electrons and holes are dirichlet conditions, where

$\varphi_{\alpha} = U$`

with $U$ as an applied voltage.

source
ChargeTransport.breaction!Method
breaction!(
    f,
    u,
    bnode,
    data,
    _::Type{SchottkyBarrierLowering}
) -> Any

Creates Schottky boundary conditions with additional lowering which are modelled as

$\psi = - \phi_S/q + \sqrt{ -\frac{ q \nabla_{\boldsymbol{\nu}} \psi_\mathrm{R}}{4\pi \varepsilon_\mathrm{i}}} + U$,

where $\psi_\mathrm{R}$ denotes the electric potential with standard Schottky contacts and the same space charge density as $\psi$ and where $\varepsilon_\mathrm{i}}}$ corresponds to the image force dielectric constant.

To solve for this additional boundary conditions the projected gradient $\nabla_{\boldsymbol{\nu}} \psi_\mathrm{R}$ is stored within a boundary species and calculated in the method generic_operator!().

source
ChargeTransport.bstorage!Method
bstorage!(f, u, bnode, data) -> Any

Master bstorage! function. This is the function which enters VoronoiFVM and hands over for each boundary the time-dependent part of the chosen boundary model.

source
ChargeTransport.build_systemMethod
build_system(
    grid,
    data,
    ::Type{ContQF};
    kwargs...
) -> System

The core of the system constructor. Here, the system for continuous quasi Fermi potentials is build.

source
ChargeTransport.build_systemMethod
build_system(
    grid,
    data,
    ::Type{DiscontQF};
    kwargs...
) -> System

The core of the system constructor. Here, the system for discontinuous quasi Fermi potentials is build.

source
ChargeTransport.charge_densityMethod
charge_density(
    psi0,
    phi,
    UT,
    EVector,
    chargeNumbers,
    dopingVector,
    dosVector,
    FVector
) -> Any

Compute the charge density, i.e. the right-hand side of Poisson's equation.

source
ChargeTransport.electroNeutralSolutionMethod
electroNeutralSolution(ctsys) -> Any

Compute the electro-neutral solution for the Boltzmann approximation. It is obtained by setting the left-hand side in the Poisson equation equal to zero and solving for $\psi$. The charge carriers may obey different statitics functions. Currently, this one is not well tested for the case of charge carriers beyond electrons and holes.

source
ChargeTransport.enable_ionic_carrier!Method
enable_ionic_carrier!(data; ionicCarrier, regions)

This method takes the user information concerning present ionic charge carriers, builds a struct of Type IonicCarrier and add this struct to the ionicCarrierList.

source
ChargeTransport.enable_trap_carrier!Method
enable_trap_carrier!(; data, trapCarrier, regions)

This method takes the user information concerning present trap charge carriers, builds a struct of Type TrapCarrier and add this struct to the trapCarrierList.

source
ChargeTransport.etaFunctionMethod
etaFunction(psi, phi, UT, E, z) -> Any

The argument of the statistics function for given $\varphi_\alpha$ and $\psi$

$z_\alpha / U_T ( (\varphi_\alpha - \psi) + E_\alpha / q ).$

The parameters $E_\alpha$ and $z_\alpha$ are given as vectors. This function may be used to compute the charge density, i.e. the right-hand side of the Poisson equation.

source
ChargeTransport.etaFunctionMethod
etaFunction(
    sol,
    ireg::Int64,
    ctsys,
    icc::Union{Int64, VoronoiFVM.ContinuousQuantity{Int32}, VoronoiFVM.DiscontinuousQuantity{Int32}, VoronoiFVM.InterfaceQuantity{Int32}}
) -> Any

The argument of the statistics function for a given solution on a given interior region.

source
ChargeTransport.flux!Method
flux!(f, u, edge, data) -> Any

Master flux functions which enters VoronoiFVM. Flux discretization scheme is chosen in two steps. First, we need to see, if we are in or out of equilibrium. If, InEquilibrium, then no flux is passed. If outOfEquilibrium, we choose the flux approximation which the user chose for each charge carrier. For the displacement flux we use a finite difference approach.

source
ChargeTransport.generic_operator!Method
generic_operator!(f, u, fvmsys) -> Any

Generic operator to save the projected gradient of electric potential (for system with standard Schotty contacts). Note that this currently only working in one dimension!

source
ChargeTransport.get_BEE!Method
get_BEE!(
    icc::Union{Int64, VoronoiFVM.ContinuousQuantity{Int32}, VoronoiFVM.DiscontinuousQuantity{Int32}, VoronoiFVM.InterfaceQuantity{Int32}},
    node::VoronoiFVM.Node,
    data
) -> Any

Defining locally the band-edge energy for interior nodes (analougesly for boundary nodes and edges).

source
ChargeTransport.get_DOS!Method
get_DOS!(
    icc::Union{Int64, VoronoiFVM.ContinuousQuantity{Int32}, VoronoiFVM.DiscontinuousQuantity{Int32}, VoronoiFVM.InterfaceQuantity{Int32}},
    node::VoronoiFVM.Node,
    data
) -> Any

Defining locally the effective DOS for interior nodes (analogously for boundary nodes and edges).

source
ChargeTransport.get_density!Method
get_density!(u, bnode::VoronoiFVM.BNode, data, icc) -> Any

For given potentials, compute corresponding densities for interior nodes.

source
ChargeTransport.get_density!Method
get_density!(
    u,
    edge::VoronoiFVM.Edge,
    data,
    icc
) -> Tuple{Any, Any}

For given potentials, compute corresponding densities for edges.

source
ChargeTransport.get_density!Method
get_density!(u, node::VoronoiFVM.Node, data, icc) -> Any

For given potentials, compute corresponding densities for interior nodes.

source
ChargeTransport.get_densityMethod
get_density(
    sol,
    ireg::Int64,
    ctsys,
    icc::Union{Int64, VoronoiFVM.ContinuousQuantity{Int32}, VoronoiFVM.DiscontinuousQuantity{Int32}, VoronoiFVM.InterfaceQuantity{Int32}}
) -> Any

For given potentials, compute corresponding densities for given interior region corresponding to a homogeneous set of parameters.

source
ChargeTransport.plot_IVMethod
plot_IV(
    Plotter,
    biasValues,
    IV,
    title;
    plotGridpoints
) -> Any

Method for showing the total current. One input parameter is the boolean plotGridpoints which makes it possible to plot markers, which indicate where the nodes are located.

source
ChargeTransport.plot_densitiesMethod
plot_densities(
    Plotter,
    ctsys,
    solution,
    title,
    label_density;
    plotGridpoints
) -> Any

Plotting routine, where the charge carrier densities are depicted in dependence of space. The case of heterojunctions is tested, but yet multidimensional plottings are not included. One input parameter is the boolean plotGridpoints which makes it possible to plot markers, which indicate where the nodes are located.

source
ChargeTransport.plot_dopingMethod
plot_doping(Plotter, ctsys, label_density) -> Any

Possibility to plot the considered doping. This is especially useful for making sure that the interior and the boundary doping agree.

source
ChargeTransport.plot_electroNeutralSolutionBoltzmannMethod
plot_electroNeutralSolutionBoltzmann(
    Plotter,
    grid,
    psi0;
    plotGridpoints
) -> Any

Plotting routine for depicting the electroneutral potential. One input parameter is the boolean plotGridpoints which makes it possible to plot markers, which indicate where the nodes are located.

source
ChargeTransport.plot_energiesMethod
plot_energies(
    Plotter,
    ctsys,
    solution,
    title,
    label_energy;
    plotGridpoints
) -> Any

With this method it is possible to plot the energies

$E_\alpha - q \psi \quad \text{w.r.t. space.}$

The case of heterojunctions is tested, but yet multidimensional plottings are not included.

One input parameter is the boolean plotGridpoints which makes it possible to plot markers, which indicate where the nodes are located.

source
ChargeTransport.plot_energiesMethod
plot_energies(Plotter, ctsys, label_BEE)

With this method it is possible to depict the band-edge energies $E_\alpha$. This can be useful for debugging when dealing with heterojunctions.

source
ChargeTransport.plot_solutionMethod
plot_solution(
    Plotter,
    ctsys,
    solution,
    title,
    label_solution;
    plotGridpoints
) -> Any

Method for plotting the solution vectors: the electrostatic potential $\psi$ as well as the charge carriers. The case of heterojunctions is tested, but yet multidimensional plottings are not included. One input parameter is the boolean plotGridpoints which makes it possible to plot markers, which indicate where the nodes are located.

source
ChargeTransport.printJacobiMethod
printJacobi(node, sys)

First try of debugger. Print the Jacobi matrix for a given node, i.e. the number of node in the grid and not the excact coordinate. This is only done for the one dimensional case so far.

source
ChargeTransport.reaction!Method
reaction!(f, u, node, data)

Master reaction! function. This is the function which enters VoronoiFVM and hands over reaction terms for concrete calculation type and bulk recombination model.

source
ChargeTransport.reaction!Method
reaction!(f, u, node, data, _::Type{InEquilibrium})

Reaction in case of equilibrium, i.e. no generation and recombination is considered.

source
ChargeTransport.reaction!Method
reaction!(f, u, node, data, _::Type{OutOfEquilibrium})

Sets up the right-hand sides. Assuming a bipolar semiconductor the right-hand side for the electrostatic potential becomes $f[ψ] = - q ((p - N_a) - (n - N_d) ) = - q \sum n_\alpha (n_\alpha - C_\alpha)$ for some doping $C_\alpha$ w.r.t. to the species $\alpha$. The right-hand sides for the charge carriers read as $f[n_\alpha] = - z_\alpha q (G - R)$ for all charge carriers $n_\alpha$. The recombination includes radiative, Auger and Shockley-Read-Hall recombination. For latter recombination process the stationary simplification is implemented. The recombination is only implemented for electron and holes and assumes that the electron index is 1 and the hole index is 2.

source
ChargeTransport.set_plotting_labelsMethod
set_plotting_labels(
    data
) -> Tuple{Any, Any, Matrix{String}, Any}

Method which can be used to construct the arrays parsed to the plotting routines for labeling. The description for electrons and holes are predefined. If one wishes to extend by labels for, e.g. mobile ionic carriers or traps, this can be done within the main file.

source
ChargeTransport.storage!Method
storage!(f, u, node, data) -> Any

Master storage! function. This is the function which enters VoronoiFVM and hands over a storage term, if we consider transient problem.

source
ChargeTransport.storage!Method
storage!(
    f,
    u,
    node,
    data,
    _::Type{OutOfEquilibrium}
) -> Float64

The storage term for time-dependent problems. Currently, for the time-dependent current densities the implicit Euler scheme is used. Hence, we have $f[n_\alpha] = z_\alpha q ∂_t n_\alpha$ and for the electrostatic potential $f[ψ] = 0$.

source
ChargeTransport.trap_density!Method
trap_density!(icc, ireg, params, Et)

Compute trap densities for a given trap energy. [Currently, only done for the Boltzmann statistics and for region dependent parameters.]

source