摘要
为了让通风工作者在不必精通计算机编程的情况下快速完成通风网络的解算,并能实现在基本不投入资金的情况下得到一套完整的通风解算系统。对Scilab在矩阵解算方面的优越性以及通风网络解算的矩阵运算本质进行了分析。对比了选用Python,Visual Basic和Scilab 3种语言实现的牛顿法解算模块,在代码的简洁可读性、执行效率、可移植性、开发平台的开放性等方面进行了研究。对Scilab通风工具箱的基本框架和使用方法进行了阐释。结果证明在通风系统解算方面Scilab相较于Visual Basic等编程语言,在界面友好程度方面基本持平,在代码编写量上显著减少,在可扩充可二次开发方面具有不可比拟的优势,在跨平台性上表现优良。但是由于Scil-ab是解释性语言,相较于编译型语言在程序执行时间上相对较长,而相对于基于虚拟机的语言时间基本持平。综合各种因素分析,认为Scilab在通风软件开发方面具有优越性,宜于在通风教学、科研以及工程应用中推广。
In order to enable ventilation workers to fast solve the ventilation network without expertise in computer programming and get a full featured VNSS with little payment, this paper analysed the advantage of Seilab in matrix solution and discussed the details of matrix calculation for ventilation network solution. Three computer languages of Python, Visual Basic and Scilab have been used in developing the Newton solution module of VNSS and research has been done on conciseness, legibility, efficiency and transportation feasibility of the module. The basic structure of Scilab ventilation toolbox and the operation method are depicted. The results proved that Scilab has similar user-friendly interface and can be completed with fewer codes compared with other program languages ab has the advantage of expandability and re-developability. As an such as Visual Basic, and that Scilexplanatory language, program written in Scilab has longer runtime than that written in compiled language, and similar runtime to that written in language based on virtual machine. In conclusion, Scilab is advantageous in developing VNSS and suitable to be popularized in ventilation teaching, researching and engineering applications.
出处
《西安科技大学学报》
CAS
北大核心
2011年第6期766-770,共5页
Journal of Xi’an University of Science and Technology