.claude/skills/depletion-width-collection-model/SKILL.md
Calculate voltage-dependent collection efficiency in pn-junction solar cells using depletion width modeling. Use when modeling carrier collection in pn-homojunction or CdTe-based solar cells where material parameters (acceptor density, built-in potential, absorption coefficient, diffusion length) are known or can be approximated.
npx skillsauth add ShaneLogic/SolarLab depletion-width-collection-modelInstall 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.
Apply this skill when:
Ensure the following parameters are available:
Compute the depletion width as a function of applied voltage:
W(V) = [2εε₀(VD - V)/eNA]^(1/2)
Where:
Model the electric field in the depletion region:
F(x) = (2eNA/εε₀)^(1/2) × (VB - V)^(1/2) × [1 - (2x/W)]
Compute the collection efficiency accounting for absorption:
ηc(V) = 1 - exp(-αW(V)/(1 + αL))
For complete collection efficiency including field-dependent effects:
ηc(V) = (1 - exp(-αW(V)/(1 + αL))) × (μF₀(V)/(S + μF₀(V)))
Where:
When working with CdTe solar cells:
Returns collection efficiency values that account for:
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.