A theoretical simulation of small-molecules sensing on an S-vacancy SnS2 monolayer.