节点文献

图示化电力软件与AutoCAD的接口研究

【作者】 刘飞

【导师】 冯林桥;

【作者基本信息】 湖南大学 , 电力系统及其自动化, 2003, 硕士

【摘要】 随着电力建设的发展,电力系统的规模越来越大,结构也越来越复杂,电力系统计算分析的工作量也日趋庞大,而现有的计算软件由于受当时的开发环境所限,普遍存在着人机界面不友好、数据录入及管理不方便、使用方法不易掌握等缺点。可视化计算和数字仿真是电力系统应用软件的发展趋势,而图形系统是可视化计算中的一个重要组成部分。在“地区电网短路计算、保护整定及档案管理程序的研究”项目中,采用对AutoCAD进行二次开发来获得所需要的图形系统。 AutoCAD是一套具有开放体系结构的通用绘图软件,它具有良好的二次开发特性。本文介绍了对AutoCAD进行二次开发的基础、开发的内容和常用方法,并比较了各个方法的优缺点,说明了定制的优越性和必要性。ActiveX Automation技术是一个完全面向对象的技术,AutoCAD的绝大数功能都均以方法和属性的方式被封装在AutoCAD的ActiveX对象中。利用ActiveX对象,编程者可以通过编程手段从AutoCAD的内部或外部来操纵AutoCAD。AutoCAD的事件过程是由AutoCAD发出的公告或信息,它通知你当前进程中的状态或警告你某事的发生。可以在类模块声明一个带事件的文档或程序类型的对象来使用AutoCAD的事件。本文采用ActiveX技术,创建电气元件菜单和工具栏,方便用户绘制电力系统网络接线图;利用AutoCAD事件,实现图形数据的一体化,从而可以使用户在图形上操作和管理数据库以及计算的可视化操作;利用AutoCAD的图形和文本对象来自动绘制短路电流分布图和保护整定图。

【Abstract】 With significant development of power construction, the scale of power system is becoming much bigger and the structure more complicated, which leads to more difficult calculation and analysis concerned with power system. And the current software was limited by past development environment, resulting in a series of problems such as unfriendly man-machine interfaces, inconvenience of data inputting and management and not-easy-grasp using method. The visual calculation and data simulation discussed here are the trends in the field of the applications in power system. Graphics system is one of important component parts of visual calculation. In the project of local power network short-circuit calculation, protection coupling and archive management, a second-exploitation of AutoCAD is used to get an expected Graphics system.AutoCAD is a general-used drawing software with opened system structure and good characteristic of further development. This paper introduces the principle, contents and common means of second-exploitation of AutoCAD. Each means is also compared with and the superiority and necessity of special designing are paid attention to. ActiveX Automation technology is fully object-oriented and most functions of AutoCAD are encapsulated in ActiveX object of AutoCAD in the form of means and property. Using ActiveX, the programmer can control AutoCAD outside or inside AutoCAD by programming. Events are notifications, or messages, that are sent out by AutoCAD to inform you about the current state of the session, or alert you that something has happened. Before you can use events of AutoCAD you must create a new class module and declare an object of type AcadApplication or AcadDocument with events. Based on the ActiveX technology, electric component menus and toolbars are created in this paper, with which a net wiring diagram for power electronics system is drawn. Take advantage of AutoCAD events, it is easy to fully carry out the consistency between graphics and data, from which users can manage databases and visual operation on graphics. The graphics about short-circuit current distribution and protection coupling are auto-drawn by using the AutoCAD entity and text objects.

  • 【网络出版投稿人】 湖南大学
  • 【网络出版年期】2003年 03期
  • 【分类号】TM769
  • 【被引频次】1
  • 【下载频次】143
节点文献中: 

本文链接的文献网络图示:

本文的引文网络