Abstract: This paper examines the optimization of pharmaceutical cleanroom design using 2D to 7D Modelling in Building Information Modelling (BIM). The goal is to enhance the reliability, different methods, statistical data, and performance of pharmaceutical production plants by effectively allocating components within design constraints. Mathematical optimization techniques improve facility design, ensuring robustness and operational efficiency. The study proposes a reliable optimal design for air-conditioning systems in pharmaceutical cleanrooms, considering uncertainties in design parameters and operational strategies. Resilient cleanroom systems are developed, and adaptable to various conditions while maintaining high performance standards. Additionally, the research explores the application of experimental design methodologies in optimizing drug delivery systems, such as factorial and etc, to enhance the quality and efficiency of pharmaceutical products and processes.