.claude/skills/carrier-lifetime-calculation/SKILL.md
Calculate minority carrier lifetimes using SRH recombination model and understand their spatial distribution in semiconductor devices with pn-junctions. Use when analyzing recombination rates, carrier lifetime in bulk materials, or lifetime variation across device junctions.
npx skillsauth add ShaneLogic/SolarLab carrier-lifetime-calculationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
For p-type bulk material:
τₙ₀ = 1 / (cₙ × Nᵣ)
For n-type bulk material:
τₚ₀ = 1 / (cₚ × Nᵣ)
These assume p >> n (for electron lifetime) or n >> p (for hole lifetime).
τₙ = τₙ₀ × (p + p₁) / (n + p + 2nᵢ × cosh((Eₜ - Eᵢ)/kT))
τₙ = (p - p₀) / U
τₚ = (n - n₀) / U
U = Δp / τₚ = Δn / τₙ
Thermal equilibrium (U = 0): Carrier lifetime is infinity
Non-equilibrium: Lifetime is finite only when deviating from equilibrium
Bulk p/n materials: Lifetimes are nearly constant (τₙ₀, τₚ₀)
At pn-junction interface: Lifetime reaches maximum when Fermi level (E_F) coincides with intrinsic level (Eᵢ)
Key principle: Carrier lifetimes are never the same throughout a semiconducting device including a junction
| Symbol | Description | Type | |--------|-------------|------| | τₙ₀ | Electron lifetime in p-type bulk | Time | | τₚ₀ | Hole lifetime in n-type bulk | Time | | cₙ | Electron capture coefficient | Coefficient | | cₚ | Hole capture coefficient | Coefficient | | Nᵣ | Density of recombination centers | Density |
See references/lifetime-spatial-distribution.md for detailed derivation and edge cases.
development
Understand and comply with Driftfusion software licensing terms, including the open-source AGPL v3.0 frontend and proprietary MATLAB pdepe solver backend. Use when using, modifying, or distributing Driftfusion code.
development
Initialize the Driftfusion simulation environment and create parameter objects. Use this skill when starting a new MATLAB session or setting up device properties for simulation.
development
Define device layer structure, configure spatial and time meshes, and build device structures with interface grading. Use this skill when setting up the physical geometry and discretization of a simulation device.
research
Analyze simulation solutions, calculate physical quantities, and generate plots. Use this skill when processing completed simulations, extracting currents/densities, or visualizing results.