摘要
针对整流变压器电磁设计具有参数多、计算步骤复杂等特点,用VisualC++语言编制了相应的计算程序。程序采用模块化编写方式,分为输入模块、输出模块以及计算模块,建立了人机对话界面,缩短了计算时间,提高了工作效率。以变压器制造成本最低为目标函数,采用粒子群算法编写了相应的优化程序。程序运行结果与手工计算结果以及穷举法优化结果进行比较,证明了所编写程序的可行性和有效性。
The rectiformer electromagnetic design has many parameters and complex computation steps,etc.The Visual C++ language was adopted to establish the corresponding computational procedures.The modular method was applied in the program,which divided into the load module,the output module as well as the computation module.The man-machine conversation interface was established,which reduced the computing time and raised the working efficiency.The particle swarm optimization algorithm was used to program the corresponding procedures to minimize the objective function of transformer's manufacturing cost.Via the comparison of the result of the manual computation and that of the optimized exhaustion method,it has proven feasibility and validity of the program.
出处
《电工电气》
2010年第10期9-13,共5页
Electrotechnics Electric
关键词
VC++
面向对象
整流变压器
粒子群优化
VC++
object-oriented
rectiformer
particle swarm optimization(PSO)