首页 | 本学科首页   官方微博 | 高级检索  
     

燃气管网水力计算图节点计算机自动编号的方法
引用本文:李成乐,田贯三.燃气管网水力计算图节点计算机自动编号的方法[J].山东建筑工程学院学报,2005,20(4):51-54,59.
作者姓名:李成乐  田贯三
作者单位:山东建筑工程学院热能工程学院,山东济南250101
摘    要:在利用Visual C+ +6.0完成燃气管网水力计算图人机对话计算机输入的基础上,管网节点实现了计算机自动编号.建立双向链表的数据结构,解决了管网节点计算机自动编号的两个关键技术:点捕捉和线捕捉.探讨了绘制管段、删除管段、截断管段和改变管段流向时节点编号变化的规律.采用数组记录管网节点编号,根据这个数组就可以生成管网的节点关联矩阵和环路矩阵,记录管网的拓扑信息,生成管网水力计算所需数据文件,并为水力计算图的输出提供图形准备.

关 键 词:Visual  C+  +6.0  燃气管网  节点  计算机自动编号  数组  链表  捕捉
文章编号:1003-5990(2005)04-0051-04
收稿时间:2004-12-13
修稿时间:2004-12-13

Method of numbering the nodes of gas network's waterpower calculation drawing automatically by computer
LI Cheng-le, TIAN Guan-san.Method of numbering the nodes of gas network''''s waterpower calculation drawing automatically by computer[J].Journal of Shandong Institute of Architecture and Engineering,2005,20(4):51-54,59.
Authors:LI Cheng-le  TIAN Guan-san
Affiliation:School of Thermal Power Engineering, Shandong University of Architecture and Engineering, Jinan 250014, China
Abstract:At the base of inputting the waterpower calculation drawing of gas network by computer with 'Visual C++6.0',the nodes of gas network can be numbered automatically.Two key techniques of snapping points and snapping lines are settled as a result of data structure of doubly linked list.The changing disciplinarian of nodes' number is discussed when drawing pipe-segment,deleting pipe-segment,cutting pipe-segment and changing flow direction.All these can be memorized by an array.Then,the node incidence matrix and circuit matrix of gas network can be created.So analysis-situs structure of gas network can be got,which provides the data preparation for gas network's waterpower calculation,and prepare for output of waterpower calculation drawing.
Keywords:Visual C++6  0  gas network  node  number automatically by computer  array  list  snap  
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号