.claude/skills/chebfun-pde-solver-evaluation/SKILL.md
Evaluates the viability of using Chebfun v5.7.0 with the pde15s solver for PSC (Photoelectrochemical) models. Use this skill when modeling PSC systems where stiffness parameters (lambda, nu) may be below 0.25 or when Shockley-Read-Hall (SRH) recombination nonlinearity is present.
npx skillsauth add ShaneLogic/SolarLab chebfun-pde-solver-evaluationInstall 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:
Examine the stiffness parameters in your PSC model:
lambda and nuDetermine if SRH recombination is present:
Based on Steps 1 and 2:
| Condition | Chebfun Viability | |-----------|------------------| | lambda/nu ≥ 0.25 AND no SRH | Viable | | lambda/nu < 0.25 | Will fail | | SRH recombination present | Will fail | | Both conditions present | Will fail |
If Chebfun fails, evaluate these alternatives:
Manual timestep (backward Euler):
Predictor-corrector strategy:
If either condition triggers failure:
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.