A comparison of computer simulation and experimental investigation of the spacecraft potential in the Earth´s ionosphere