This tutorial example models the currents and the concentration of dissolved metal ions in a battery (corrosion cell) made from an orange and two metal nails. This type of battery is commonly used in chemistry lessons. Instead of an orange, lemons or potatoes can also be used.
The common electroanalytical method of exhaustive amperometric detection in a microscopic thin layer is modelled as a 1D-symmetric diffusion problem. The simulated result agrees with the analytical Cottrell equation at short times, and deviates as expected at long times when the diffusion layer spans the thin layer cell.