Calculate semiconductor energy band levels (conduction band, valence band, vacuum energy, bandgap) using electron affinity, ionization potential, and electrostatic potential. Use when working with semiconductor materials and energy band diagrams in Driftfusion simulations.