Influence of in situ stress variations on acoustic emissions: a numerical study