摘要
CIM模型在关系数据库中存储方式的好坏,直接影响电力系统分析软件的运行效率。本文首先总结CIM模型的特点,指出对象模型向关系模型映射的必要性,然后提出类、对象、对象属性类型、对象属性以及类之间的关系向SQL Server2005数据库映射的一般方法,最后以拓扑包主框图为例,用DDL语言实现框图中的基本关系。在电网分析平台中使用该方法来存储CIM对象,加快了平台的开发进度。
The quality of CIM storage in relational database directly impacts the operating efficiency of power system analysis soft-ware. At first, this paper summarizes the characteristics of CIM, and then puts forward a general method about class, object, attribute types and object attributes, and the relationship between the classes to the SQL Server 2005 database mapping, finally takes the main diagram of topology package as example and uses DDL language to achieve the basic relationships in the diagram. The proposed mapping method is simple, intuitive, and easy to realize, using this method to store the CIM object in the power grid analysis platform has accelerated the progress of the platform development.
出处
《计算机与现代化》
2013年第11期128-132,共5页
Computer and Modernization
基金
西安石油大学研究生科研创新基金资助项目(2011CX100317)