Simulation of gas leaks in ventilated rooms