With the increase in high-rise buildings in cities, public flue exhaust systems have a direct impact on residential air quality and the living environment. Although existing studies have analyzed the problems in public flue exhaust systems through computational fluid dynamics (CFD) numerical simulations and experimental tests, these studies often lack an in-depth exploration of the specific impacts of individual components in the system. To solve this problem, this study not only thoroughly analyzes the key components in the public flue system, such as branch pipes, check valves, and tee pipes, but also develops a parametric public flue simulation system software based on C# and verifies the accuracy of the simulation through experiments. The study first determines the key parameters affecting the comprehensive resistance coefficient of the branch pipe, check valve, tee pipe, and other components through CFD simulation and experimental testing. Subsequently, a visualization program is developed using the C# language, which can quickly simulate and visualize the flow changes in the flue according to different building parameters such as the number of floors, height of floors, and size of the flue. The results confirm that the program can efficiently predict the flow distribution under different design options, providing a practical tool for the optimal design and performance evaluation of public flues, which is important for improving the air quality of the living environment.