摘要
该文将面向对象技术应用于对某超高压减压器动态特性进行仿真研究的仿真软件设计中,并以中文W indows 2000为操作平台,使用V isual C++6.0实现了该软件。通过将所用各功能进行模块化处理,使程序的可维护性好,易于修改,易于扩展。为解决数学模型上的非线性,程序中开发了每步重新计算方程系数的龙格-库塔数值计算方法。利用W idows 2000提供的资源对软件界面进行了可视化设计,实现了仿真数据的分页显示和图形显示。仿真计算结果和试验测试结果比较表明:该软件具有较好的精度。与传统的减压器仿真软件相比,该软件具有良好的界面和人机交互功能,用户使用方便。
Using Chinese Windows 2000 as its operation system, the object - oriented technology has been utilized to design simulation software of a super - high - pressure regulator. Through Visual C + + 6.0 the software has been carried out, Owing to the superiority of object -oriented technology, the functions are all modularized, which makes the program easily maintained, modified and extended. Because of the non -linearity of the mathematical models, Runge - Kutta calculation method for recalculating the coefficient of state equation each step is exploited. Using re sources of Windows 2000, the visual design of software interface has been done, and display of simulation data has been implemented in both text and graph. The comparison between the simulation and test result shows that the precision of this simulation software is satisfactory. Compared with the traditional software, this software is of better interface and convenience.
出处
《计算机仿真》
CSCD
2006年第11期27-30,共4页
Computer Simulation
关键词
面向对象
减压器
仿真软件
Object - oriented
Regulator
Simulation software