I don't really know his exact location but I think you may mean how
In this case, he actually just proposed this model that made the calculation of orbits a bit easier. I believe it was chance, but that is up for debate.
And back to that location question... He probably created it inside his home accompanied by some astronomy text books, I would have to guess.