Well, excluding comets, all bodies have circular orbits in-game. I think the DB just takes an average of the semi-major and semi-minor axis to decide the size of the orbit. Then for anything in Sol, he probably found a calculator online somewhere that'll give him a position on that orbit. For fictional bodies, he probably just randomly assigns them orbits and positions, with some caveats like how gas giants sometimes get trojan asteroids.