What's the sampling frequency when synthetically generating data?
The sampling rate is arbitrary- you choose it.

Usually people are simulating a real situation, like, for example, audio from a CD.  Then you would choose the sample rate to be 44.1 kHz.