Units of Band Gap and Electron Affinity
In the graphical user interface, the input for the band gap is actually “band-gap divided by the elementary charge”, so it takes on the unit of electric potential but has the same numerical value as the band gap energy in eV. The same applies to the input for the electron affinity.