lifetime curve fit

This examples shows how to use Quokka3's curve fitting functionality to fit a 1D simulation of a symmetric lifetime sample to measured lifetime curve, to discriminate bulk and surface recombination. Two settingsfile with two approaches to fit surface recombination are included:

Lumped skin fit

Uses a lumped skin recombination model to fit surface J0, and fits also defect density of an iron SRH defect in the bulk.

Detailed skin fit

Uses a detailed skin to fit fundamental electron surface recombination velocity for a known charge, in addition to an iron SRH defect in the bulk. This version solves full drift-diffusion equations in the entire device, and is therefore significantly slower compared to the lumped skin approach.