This study aims at the development of an optimal design tool using a genetic algorithm (GA) andcomputational fluid dynamics (CFD). To represent a realistic building environment, random variables(fluctuating outdoor conditions), passive control variables (model variables) and active control variables (HVAC system) were set up. A combination of designs are determined based on the relationship between the fluctuating outdoor conditions and the HVAC system in the optimization inquiry.