Skip to main content

DriftDiffusion

Struct DriftDiffusion 

Source
pub struct DriftDiffusion {
    pub mu_n: f64,
    pub mu_p: f64,
    pub temperature_k: f64,
    pub v_sat_n: f64,
    pub v_sat_p: f64,
}
Expand description

Drift-diffusion transport model for semiconductors.

Models carrier transport including mobility, diffusion, and velocity saturation.

Fields§

§mu_n: f64

Electron mobility in cm^2/(V·s).

§mu_p: f64

Hole mobility in cm^2/(V·s).

§temperature_k: f64

Temperature in K.

§v_sat_n: f64

Saturation velocity for electrons in cm/s.

§v_sat_p: f64

Saturation velocity for holes in cm/s.

Implementations§

Source§

impl DriftDiffusion

Source

pub fn new( mu_n: f64, mu_p: f64, temperature_k: f64, v_sat_n: f64, v_sat_p: f64, ) -> Self

Create a new drift-diffusion model.

Source

pub fn silicon_300k() -> Self

Silicon at 300K with typical mobility values.

Source

pub fn gaas_300k() -> Self

GaAs at 300K.

Source

pub fn diffusion_coefficient_n(&self) -> f64

Electron diffusion coefficient via Einstein relation: D_n = mu_n * V_T.

Source

pub fn diffusion_coefficient_p(&self) -> f64

Hole diffusion coefficient via Einstein relation: D_p = mu_p * V_T.

Source

pub fn einstein_ratio(&self) -> f64

Verify Einstein relation: D/mu = k_B T / q.

Source

pub fn electron_drift_velocity(&self, electric_field: f64) -> f64

Electron drift velocity with saturation effects.

v_d = mu * E / (1 + mu * |E| / v_sat)

Source

pub fn hole_drift_velocity(&self, electric_field: f64) -> f64

Hole drift velocity with saturation effects.

Source

pub fn electron_current_density( &self, n: f64, electric_field: f64, dn_dx: f64, ) -> f64

Electron current density (drift + diffusion) in A/cm^2.

J_n = q * n * mu_n * E + q * D_n * dn/dx

Source

pub fn hole_current_density( &self, p: f64, electric_field: f64, dp_dx: f64, ) -> f64

Hole current density (drift + diffusion) in A/cm^2.

Source

pub fn caughey_thomas_mobility( mu_min: f64, mu_max: f64, n_total: f64, n_ref: f64, alpha: f64, ) -> f64

Mobility with doping dependence (Caughey-Thomas model).

mu = mu_min + (mu_max - mu_min) / (1 + (N / N_ref)^alpha)

Source

pub fn mean_free_path_n(&self) -> f64

Mean free path estimate from mobility in cm.

Trait Implementations§

Source§

impl Clone for DriftDiffusion

Source§

fn clone(&self) -> DriftDiffusion

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DriftDiffusion

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for DriftDiffusion

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.