引用本文:王建勋,吕群芳,刘会金.基于Delphi和Matlab混合编程的配电网无功优化软件设计[J].电力自动化设备,2011,31(4):
WANG Jianxun,LV Qunfang,LIU Huijin.Reactive power optimization software design based on hybrid programming of Delphi and Matlab for distribution system[J].Electric Power Automation Equipment,2011,31(4):
【打印本页】   【HTML】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 6034次   下载 2705  
基于Delphi和Matlab混合编程的配电网无功优化软件设计
王建勋, 吕群芳, 刘会金
武汉大学 电气工程学院,湖北 武汉 430072
摘要:
应用Delphi和Matlab混合编程的方法设计可视化的配电网无功优化计算软件,其中Delphi实现图形界面和数据管理,Matlab实现无功优化计算和绘图功能。使用Matlab软件中的COM组件封装工具对Matlab程序进行打包并在Delphi中注册该COM组件,以实现对Matlab程序的调用。通过OleVariant变量格式或者文本文件动态传递矩阵参数;通过剪切板操作或窗口嵌套将Matlab的图形窗口嵌入到Delphi环境中。指出通过分散文档或稀疏矩阵的形式进行参数传递,对不同形式变量进行合理的定义,可提高程序的运行效率。简要介绍了配电网无功优化的数学模型,并采用自适应的微分进化算法作为无功优化算法,算例结果表明该软件应用效果良好。
关键词:  混合编程  COM技术  无功优化  微分进化算法
DOI:
分类号:
基金项目:
Reactive power optimization software design based on hybrid programming of Delphi and Matlab for distribution system
WANG Jianxun, LV Qunfang, LIU Huijin
Wuhan University,Wuhan 430072,China
Abstract:
The hybrid programming of Delphi and Matlab is applied to the design of visual reactive power optimization software for distribution network. The graphical interface module and data management module are programmed with Delphi while the computation module and graphics module are programmed with Matlab. The Matlab programs are packaged with the COM component packaging tool of Matlab and then are registered as COM component in Delphi for its call. The matrix parameters are dynamically transferred as OleVariant variable format or text file. The Matlab graphics window is embedded in Delphi environment by clipboard operations or window nesting. The operational efficiency of program is improved when the parameters are transferred by dispersed document or sparse matrix and the variables of different forms are defined reasonably. The math model of reactive power optimization for distribution network is briefly introduced,which applies the adaptive differential evolution algorithm. Case calculation shows its good effect.
Key words:  hybrid programming  COM technology  reactive power optimization  differential evolution algorithm

用微信扫一扫

用微信扫一扫