The contact resistance between metals and semiconductors in nanoelectronic devices is mainly determined by the Schottky barrier. Controlling the Schottky barrier height (SBH) hence means being able to manipulate the contact resistance. and thereby to reduce the energy consumption as well as the heat production of electronic devices. While so far phenomenological considerations were able to determine the SBH only at a qualitative level, a parameter-free quantitative evaluation is possible via atomistic simulations using the MedeA® software platform.. This application note illustrates the calculation and modification of the SBH for a system of direct technological importance, namely a NiSi/Si contact. Furthermore, the effect of dopant atoms on the SBH, which are needed to tune the SBH for minimal contact resistance of n- and p-doped semiconductors, is investigated. Reduction of the Schottky barrier height is achieved by doping with Ba. This note also demonstrates how the preferred positions of dopant elements can be determined with S as example.