I want to analytically calculate the number of activated dopant concentration in Mg-doped AlGaN when the doping concentration as well as the ionization energy level for the acceptor is known. If anyone can share some equations or any research paper in this field, it would really be of great help.