节点文献
燃气管网水力计算图节点计算机自动编号的方法
Method of numbering the nodes of gas network’s waterpower calculation drawing automatically by computer
【摘要】 在利用Visual C++6.0完成燃气管网水力计算图人机对话计算机输入的基础上,管网节点实现了计算机自动编号。建立双向链表的数据结构,解决了管网节点计算机自动编号的两个关键技术:点捕捉和线捕捉。探讨了绘制管段、删除管段、截断管段和改变管段流向时节点编号变化的规律。采用数组记录管网节点编号,根据这个数组就可以生成管网的节点关联矩阵和环路矩阵,记录管网的拓扑信息,生成管网水力计算所需数据文件,并为水力计算图的输出提供图形准备。
【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.
【Key words】 Visual C++6.0; gas network; node; number automatically by computer; array; list; snap;
- 【文献出处】 山东建筑工程学院学报 ,Journal of Shandong Institute of Architecture and Engineering , 编辑部邮箱 ,2005年04期
- 【分类号】TU996
- 【被引频次】14
- 【下载频次】241