I want to calculate the defect formation energy for different systems with defects (both for atomic vacancies and doping impurity) using VASP.
I have found some papers from Physical Review Letters and Physical Review B to calculate defect formation energy in different cases. But I am not getting how to calculate the chemical potential of individual atoms using VASP.