.claude/skills/current-decay-transient-simulation/SKILL.md
Simulates and analyzes rapid current decay transients using a tanh voltage profile protocol. Use when modeling current decay scenarios or time-of-flight measurements where capturing fast timescale transients (initial current rise at very short times) is critical for accurate analysis.
npx skillsauth add ShaneLogic/SolarLab current-decay-transient-simulationInstall 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.
This skill implements a protocol for simulating current decay transients that captures both the long-term asymptotic behavior and the fast timescale dynamics that occur at very short times.
Apply this protocol when:
Hold the cell at applied bias φ = φ_bi = 40 for a sufficiently long time to eliminate all initial transients before starting the decay protocol.
Set up the voltage profile for the decay transient:
Apply the voltage profile:
φ(t) = φ_bi × [1 - tanh(β × t) / tanh(β × t_end)]
This creates a smooth but rapid decrease in applied bias starting at t=0.
Configure numerical parameters:
Run the simulation with the configured parameters to compute photocurrent as a function of time.
Compare the numerical photocurrent results to the asymptotic solution:
The key advantage of this protocol is its ability to resolve the fast transient dynamics at very short time scales while maintaining accuracy at longer times.
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.