摘要
组件对象模型COM(ComponentObjectModel)技术是一种新的软件开发标准,它提供了跨越编程语言、操作系统甚至网络访问组件对象的通用途径。阐述了其基本概念、特点和实现方法,讨论了将COM技术应用于电力系统数字仿真的元件建模中。把电力系统元件的仿真模型封装成COM组件,元件数学模型的形成与解算通过组件的接口实现,这样不但满足了同一元件仿真模型多样性的要求,增强了仿真软件的灵活性,且方便了仿真模型的修改与升级。目前,利用VisualC++开发环境中集成的ATL模板可以高效率地开发COM组件。
COM (Component Object Model) technology is a new method of software development. It provides an approach to access component regardless of programming language, operating system even network. The concept, characteristics and realization of COM are introduced, and its application in the element modeling for the digital simulation of power system is discussed. The simulation models of power element are encapsulated into COM components, while the element model formation and the status variables calculation are achieved through interface. It not only satisfies the diversity requirement for the same simulation model and enhances the flexibility of simulation software, but also makes the model modification and upgrading easier. At present, ATL template of Visual C++ can develop COM component with high efficiency.
出处
《电力自动化设备》
EI
CSCD
北大核心
2002年第10期36-39,共4页
Electric Power Automation Equipment