3. Defect formation energies (top) and defect concentrations (bottom) for defects in undoped and supervalent doped Li 3 OCl under lithium poor (left) and lithium rich (right) conditions (see fig. ), at 360 °C. In the upper panels, the vertical dashed line shows the equilibrium Fermi energy in the undoped system, and the vertical solid line shows the equilibrium Fermi energy when doping at an effective dopant concentration of r[M r ] = 10 18 cm -3 . Defect species with concentrations [X] < 1 × 10 2 cm -3 under all conditions are not shown in the bottom plots.