A Ground Simulation of a Satellite Navigation System