Try it · Ambipolar
Change the inputs and compare the recalculated curves with the preceding derivation and baseline figure. The axes give the units; the numerical readout states the model assumptions and any limiting cases. Reset the inputs to return to the reference setting.
Download the corresponding editable notebook. The browser recalculates the reduced equations directly; the notebook exposes the full calculation and its checks.
Python runs on this device. The first run loads the scientific libraries.
Impose vanishing total charge current
Take a slowly varying neutral excess with gradients equal for electrons and holes. Mobilities and background densities are uniform on the packet scale. The Einstein relation supplies diffusion constants for nondegenerate carriers.
Compare profiles and slope estimates
All plotted profiles have the same integrated excess. The spatial variance, rather than its square root, grows linearly. Include a longer time interval before estimating a slope from noisy data.