The tip of the red giant branch as a distance indicator for resolved galaxies. 2: Computer simulations | Synapse