欢迎访问《图学学报》

图学学报 ›› 2026, Vol. 47 ›› Issue (2): 440-448.DOI: 10.11996/JG.j.2095-302X.2026020440

• 建筑与城市信息模型 • 上一篇    下一篇

基于图论的建筑风系统阻力自动化计算方法和工具研发

江凯1, 许璟琳1,2(), 余芳强3   

  1. 1 上海建工四建集团有限公司上海 201103
    2 浙江大学工程师学院浙江 杭州 310015
    3 上海建工集团股份有限公司上海 200080
  • 收稿日期:2025-09-21 接受日期:2025-11-25 出版日期:2026-04-30 发布日期:2026-05-20
  • 通讯作者:许璟琳,E-mail:jinglin.xu@qq.com
  • 基金资助:
    上海市东方英才计划青年项目(QNKJ2024047)

Development of a graph theory-based automated calculation method and tool for airflow resistance in building ventilation systems

JIANG Kai1, XU Jinglin1,2(), YU Fangqiang3   

  1. 1 Shanghai Construction No.4(Group) Co. Ltd, Shanghai 201103, China
    2 Polytechnic Institute, Zhejiang University, Hangzhou Zhejiang 310015, China
    3 Shanghai Construction Group Co. Ltd, Shanghai 200080, China
  • Received:2025-09-21 Accepted:2025-11-25 Published:2026-04-30 Online:2026-05-20
  • Contact: XU Jinglin,E-mail:jinglin.xu@qq.com
  • Supported by:
    Shanghai Oriental Talent Program Youth Project(QNKJ2024047)

摘要:

在建筑机电系统中,风系统的阻力计算是暖通空调设计与优化的关键环节。传统方法依赖人工识别最不利环路并逐段计算阻力,存在效率低、易出错等问题,难以适应复杂工程需求。随着建筑信息模型(BIM)技术的发展,基于Revit模型进行自动化分析已成为提升设计质量的重要手段。研究提出了一种基于图论的建筑风系统阻力自动化计算方法,以Revit MEP模型为基础,通过API接口提取风系统构件拓扑关系,并将其抽象为一张无向图,其中管件作为节点,管道作为边。利用广度优先搜索(BFS)算法从风机出发遍历整个风系统,识别所有连接风口,并构建以风机为根节点、风口为叶子节点的树状结构。在此基础上,采用自下而上的深度优先回溯策略,逐层计算各节点下游风量,并结合局部阻力系数与沿程阻力公式,完成每条路径的总阻力计算。最终,通过比较所有路径的阻力值,识别出最不利环路,实现风系统阻力的智能化、自动化分析。基于该方法开发了集成于Revit平台的自动化计算插件,并在上海某大型实验室项目中完成应用验证。案例中对144台风机进行了全回路复核,结果显示有28台风机原选型无法满足系统阻力要求,同时计算效率较传统人工方式提升约37倍。研究成果为风机选型、节能优化及后续运维管理提供了可靠的数据支持,具有良好的工程应用前景。

关键词: 风系统阻力计算, 图论, 最不利环路, 广度优先搜索, 建筑信息模型(BIM), 机电深化设计

Abstract:

In building mechanical and electrical systems, airflow resistance calculation of ventilation systems is a critical task in HVAC design and optimization. Traditional methods, which rely on manual identification of the most unfavorable loop and segment-by-segment resistance calculation, suffer from low efficiency and high error rates, making them inadequate for complex engineering demands. With the advancement of Building Information Modeling (BIM), automated analysis based on Revit models has become an important approach to improving design quality. A graph theory-based automated calculation method for airflow resistance in building ventilation systems was proposed. Based on Revit MEP models, the topological relationships of ventilation system components were extracted via the API and abstracted into an undirected graph, where fittings were represented as nodes and duct segments as edges. The Breadth-First Search (BFS) algorithm was employed to traverse the entire system from the fan, identifying all connected air terminals and constructing a tree structure with the fan as the root node and the terminals as leaf nodes. A bottom-up, depth-first backtracking strategy was then applied to calculate the downstream airflow at each node layer by layer. By integrating local resistance coefficients and frictional resistance formulas, the total resistance for each path was computed. The most unfavorable loop was automatically identified by comparing the resistance values of all paths, enabling an intelligent and automated analysis of the system’s airflow resistance. An automated calculation plugin integrated into the Revit platform was developed based on this method and validated in a large-scale laboratory project in Shanghai. The case study involved a comprehensive review of 144 fans, revealing that the original selection for 28 fans could not meet the system’s resistance requirements, while the calculation efficiency was improved by approximately 37 times compared to traditional manual methods. This research provided reliable data support for fan selection, energy-saving optimization, and subsequent operation and maintenance management, demonstrating strong potential for practical engineering applications.

Key words: airflow resistance calculation in ventilation systems, graph theory, most unfavorable loop, breadth-first search, building information modeling (BIM), MEP detailing design

中图分类号: