A new AI-powered simulation model allows researchers and architects to design well-ventilated indoor spaces that keep harmful smoke away.