Airflow, contaminant and temperature during heating and ventilation in a model room represented by a square cavity with inlet and outlet ports, has been studied. The aim of this work is concerned with the development and implementation of a practical and robust optimization scheme based on the combination of Genetic algorithm and response surface methodology (RSM) with the aim of assisting hospital ward designers and managers /operators to enhance infection control (i.e. reduce the risk of airborne transmission) without compromising patient comfort and environmental impact