.claude/skills/asymptotic-model-simplification/SKILL.md
Simplify the recombination model configuration to enable direct comparison between numerical simulations and asymptotic analytic solutions. Use this when validating numerical models against analytic results in carrier transport problems, specifically for methylammonium lead tri-iodide or similar materials where monomolecular recombination approximations apply.
npx skillsauth add ShaneLogic/SolarLab asymptotic-model-simplificationInstall 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.
Use this skill when you need to:
Before applying this skill, ensure you have:
Use the realistic parameter estimates provided in Eq. (18) for your model configuration.
Modify the bulk recombination rate R(n, p) to be linear and monomolecular:
R(n, p) = gamma * p
where:
gamma = 2.4 (recombination coefficient)p = local hole concentrationSet both surface recombination rates to zero:
R_l(p) = 0 (left surface)R_r(n) = 0 (right surface)Confirm that:
Run your simplified model and compare directly to the asymptotic analytic solutions.
| Variable | Type | Description | |----------|------|-------------| | R(n, p) | Expression | Bulk recombination rate (simplified) | | gamma | Float | Recombination coefficient (typically 2.4) | | p | Variable | Local hole concentration | | R_l(p) | Expression | Left surface recombination rate | | R_r(n) | Expression | Right surface recombination rate |
This simplification breaks down where:
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.