Calculation of the Kohn-Sham potential and its discontinuity for a model-semiconductor | Synapse