您好,欢迎来到佳博论文网!

输配管网的软件开发

论文编号:RN001 字数:24729,页数:59 包含软件

摘 要

我国能源资源紧张,节能已成为我国面临的紧迫课题。由于缺乏各种管理、调节技术,使得当前流体输配管网普遍存在着比较严重的水力失调现象,增加了管网的成本。因此,对流体输配管网水力工况进行研究是十分有必要的。

本文通过对流体输配管网的水力工况的分析,利用图论的基本回路法,基尔霍夫定律和伯努利方程建立了水力工况的数学模型,确定了求解数学模型的算法。

基于Visual Basic软件开发平台,结合Access数据库,开发了一个枝状管网和环状管网通用的流体输配管网水力计算软件。解决了现有水力计算软件中存在的数据输入繁琐、功能单一和参数设定不灵活等问题。该软件利用可视化的Basic软件编制程序使计算机能够自动识别出用户所输入管网的生成树、关联矩阵、回路矩阵、阻力系数向量、流量向量等,然后根据己建立的数学模型进行求解。该软件能够根据不同管网类型进行流体输配管网的水力工况计算。

以一个算例为对象,计算了环状管网中的流量及压降,并将计算结果与实际值进行了比较,表明误差在合理范围内,从而证明了该模型正确、实用。

关键词:流体输配,管网,水力计算,数学模型,软件,Visual Basic

ABSTRACT

Being short of energy resource in our country, energy saving has become a pressing issue our country face. Being short of correlative technique of management and adjustment, therefore serious hydraulic disordered phenomenon exists generally. This demerit can increase the cost of pipe work. Therefore, it is necessary to study the fluid supply pipe work hydraulic condition.

In this paper, according to the analysis of fluid supply pipe work hydraulic condition, using the graph theory basic loop, KCL and KVL and Bernoulli equation established hydraulic power work condition mathematic model, settled the derivation of the mathematic model.

Based the Visual Basic software as development platform, integrated Access database, that developed a fluid supply pipe work hydraulic calculation software for both branch network and loop network. Hydraulic calculation by manual operation is complicated and often results in miscalculation. Current softwares for hydraulic calculation have many disadvantages such as large amount of data input, single function, and inflexible parameters setting. Based on Visual Basic program and Access platform, a new software for hydraulic calculation is developed, which is comprehensive and easy to operate. This software uses Visual Basic programming language which establishes procedures, it made the computer can self-action recognize the network’s spanning tree, associated matrix, loop matrix, drag coefficient vector ,and flowrate vector and so on, then solute the problem according to flow calculation simulation model that has been established. The software can calculate hydraulic condition of a network according to the different network.

We calculate the flowrate and pressure loss of loop network according to a given example, and compared the result to the reality, the error is in a proper sphere. Therefore, this model is proved to be correct.

KEY WORDS: fluid supply, pipe work, hydraulic calculation, mathematic model, software, Visual Basic

目录

前 言 1

第1章 流体输配管网的形式 3

1.1 气体输配管网形式 3

1.1.1 通风空调工程风管形式 3

1.1.2 燃气输配管网形式 3

1.1.3 其他气体的输配管网形式 4

1.2 液体输配管网形式 4

1.2.1 供暖空调冷热水管网形式 4

1.2.2 热水集中供热管网形式 5

1.2.3 建筑给水管网形式 7

1.2.4 高层建筑液体输配管网的特点 8

1.3 相变流或多相流管网形式与装置 9

1.3.1 蒸汽管网形式 9

1.3.2 凝结水管网形式 11

1.3.3 建筑排水管网形式 11

1.3.4 卤代烷,二氧化碳等灭火管网形式 12

1.3.5 气力输送管网形式 12

第2章 图论在流体输配管网中的应用 13

2.1 图论 13

2.1.1 图与树的概念 13

2.1.2 图的关联矩阵与基本回路矩阵 14

2.1.3 基尔霍夫定律 17

2.2 流体输配管网的水力工况 18

2.2.1 基本计算公式 18

2.2.2 管网水力工况的计算 21

第3章 流体输配管网水力工况数学模型的建立与求解方法 24

3.1 流体管网水力工况的数学模型 24

3.2 流体输配管网水力工况数学模型的求解 25

3.2.1 枝状管网水力工况数学模型的求解 25

3.2.2 环状管网水力工况数学模型的求解 25

第4章 管网水力计算的编程方法 28

4.1 Visual Basic 与 Access 的介绍 28

4.1.1 Visual Basic 6.0 的主要特点 28

4.1.2 Access简介 29

4.2 程序的实现流程 29

4.3 枝状管网水力计算 31

4.3.1 创建关联矩阵 31

4.3.2 创建节点净流量 31

4.3.3 创建位能差 31

4.3.4 求解方程 31

4.4 环状管网水力计算 32

4.4.1 创建最小生成树 32

4.4.2 创建独立回路矩阵 32

4.5 解方程 33

第5章 软件简介和算例分析 34

5.1 软件简介 34

5.1.1 创建工程 34

5.1.2 数据输入 34

5.1.3 管网计算 40

5.1.4 查看计算结果 41

5.1.5 用“打开工程”继续管网计算 41

5.2 环状管网算例分析 41

第6章 结论与展望 45

致 谢 46

参考文献 47

附录 软件的主要程序 48

输配管网的软件开发......