电力系统自动化
電力繫統自動化
전력계통자동화
AUTOMATION OF ELECTRIC POWER SYSTEMS
2012年
22期
68-72
,共5页
董树锋%何光宇%刘凯诚%张王俊%王治华
董樹鋒%何光宇%劉凱誠%張王俊%王治華
동수봉%하광우%류개성%장왕준%왕치화
Eclipse建模框架%公共信息模型%文件解析
Eclipse建模框架%公共信息模型%文件解析
Eclipse건모광가%공공신식모형%문건해석
Eclipse modeling framework (EMF)%common information model (CIM)%file parsing
基于Eclipse建模框架,提出了一种简洁、灵活、通用的解决方案,帮助开发者高效地开发基于公共信息模型(CIM)的系统。该方案包含3个方面内容:其一,按照CIM所定义的包、类、对象以及对象之间的关联关系自动生成Java代码,使开发者具备快速追踪最新CIM版本的能力;其二,能够以流的方式高速扫描CIM可扩展置标语言(XML)文件,扫描过程中形成CIM对象,扫描结束后建立对象间的关联关系,且能够屏蔽不同厂家、不同版本CIMXML文件之间的差异性,具有较好的兼容性;其三,能够验证对象间关联关系是否满足CIM标准规定的约束。最后,对多个实际系统的C1M数据进行了测试,实验结果验证了该方案的有效性。
基于Eclipse建模框架,提齣瞭一種簡潔、靈活、通用的解決方案,幫助開髮者高效地開髮基于公共信息模型(CIM)的繫統。該方案包含3箇方麵內容:其一,按照CIM所定義的包、類、對象以及對象之間的關聯關繫自動生成Java代碼,使開髮者具備快速追蹤最新CIM版本的能力;其二,能夠以流的方式高速掃描CIM可擴展置標語言(XML)文件,掃描過程中形成CIM對象,掃描結束後建立對象間的關聯關繫,且能夠屏蔽不同廠傢、不同版本CIMXML文件之間的差異性,具有較好的兼容性;其三,能夠驗證對象間關聯關繫是否滿足CIM標準規定的約束。最後,對多箇實際繫統的C1M數據進行瞭測試,實驗結果驗證瞭該方案的有效性。
기우Eclipse건모광가,제출료일충간길、령활、통용적해결방안,방조개발자고효지개발기우공공신식모형(CIM)적계통。해방안포함3개방면내용:기일,안조CIM소정의적포、류、대상이급대상지간적관련관계자동생성Java대마,사개발자구비쾌속추종최신CIM판본적능력;기이,능구이류적방식고속소묘CIM가확전치표어언(XML)문건,소묘과정중형성CIM대상,소묘결속후건립대상간적관련관계,차능구병폐불동엄가、불동판본CIMXML문건지간적차이성,구유교호적겸용성;기삼,능구험증대상간관련관계시부만족CIM표준규정적약속。최후,대다개실제계통적C1M수거진행료측시,실험결과험증료해방안적유효성。
A simple, flexible and universal solution using the Eclipse modeling framework (EMF) for developing systems based on the common information model (CIM) is proposed. The scheme contains three aspects. Firstly, the Java code of package, class and object relations defined in CIM are automatically generated. Secondly, the CIM extendable markup language (XML) file can be efficiently scanned through streams, objects are formed in the memory during the scanning process, the relations between objects are constructed after the scan is finished. The differences of different energy management system (EMS) suppliers and different CIM versions are shielded, so good compatibility is reached. Thirdly, the constraints of objects defined in CIM are validated. The validity of the solution is testified by test results of CIM data of several real systems.