摘要
面向对象编程是确保大型电力系统分析和应用软件易于维护、升级和移植的有效方法。简述了面向对象 (Object Oriented)的软件设计思想 ,讨论了面向对象编程中的几项核心技术 ,并将其引入配电网规划的仿真设计中。结合实际配电网规划模型 ,给出了基于遗传算法的配电网规划求解流程 ,定义了遗传算法、配电网潮流算法等相应的算法类及配电网元件类 ;提出了基于友元机制等在类的实例对象之间交互信息的有效方法。
Object Oriented Programming (OOP) technology makes the maintenance, upgrading and transplant of analysis and application software for large electric power system easier. The object oriented SW design concept is introduced briefly. The key technology of OOP is discussed and adopted in the simulative design of Power Distribution Network (PDN) planning. Combined with the real PDN planning model, the solution flow of PDN planning based on Genetic Algorithm (GA) is given, the algorithm class and element class definitions of GA, PDN power flow algorithm and so on are defined. The friend class is applied to transfer messages between objects efficiently and reasonably. The engineering application verifies its effectiveness.
出处
《电力自动化设备》
EI
CSCD
北大核心
2002年第4期48-51,共4页
Electric Power Automation Equipment