资源简介
在MATLAB中,分别使用粒子群算法(PSO)和嵌套粒子群算法(Nested PSO)实现经济调度。代码结构清晰,并配有详细注释。

代码片段和文件信息
%
% Copyright (c) 2015 Yarpiz (www.yarpiz.com)
% All rights reserved. Please read the “license.txt“ for license terms.
%
% Project Code: YPAP113
% Project title: Solving Economic Dispatching using PSO in MATLAB
% Publisher: Yarpiz (www.yarpiz.com)
%
% Developer: S. Mostapha Kalami Heris (Member of Yarpiz Team)
%
% Contact Info: sm.kalami@gmail.com info@yarpiz.com
%
function model=CreateModel()
model.PD=1263;
model.Plants.Pmin=[100 50 80 50 50 50];
model.Plants.Pmax=[500 200 300 150 200 120];
model.Plants.alpha=[240 200 220 200 220 190];
model.Plants.beta=[7 10 8.5 11 10.5 12];
model.Plants.gamma=[0.007 0.0095 0.009 0.009 0.008 0.0075];
model.Plants.P0=[440 170 200 150 190 110];
model.Plants.UR=[80 50 65 50 50 50];
model.Plants.DR=[120 90 100 90 90 90];
model.Plants.PminActual = max(model.Plants.Pminmodel.Plants.P0-model.Plants.DR);
model.Plants.PmaxActual = min(model.Plants.Pmaxmodel.Plants.P0+model.Plants.UR);
model.Plants.PZ{1}={[210 240][350 380]};
model.Plants.PZ{2}={[90 110][140 160]};
model.Plants.PZ{3}={[150 170][210 240]};
model.Plants.PZ{4}={[80 90][110 120]};
model.Plants.PZ{5}={[90 110][140 150]};
model.Plants.PZ{6}={[75 85][100 105]};
model.nPlant=numel(model.Plants.alpha);
model.B=[ 0.0017 0.0012 0.0007 -0.0001 -0.0005 -0.0002
0.0012 0.0014 0.0009 0.0001 -0.0006 -0.0001
0.0007 0.0009 0.0031 0.0000 -0.0010 -0.0006
-0.0001 0.0001 0.0000 0.0024 -0.0006 -0.0008
-0.0005 -0.0006 -0.0010 -0.0006 0.0129 -0.0002
-0.0002 -0.0001 -0.0006 -0.0008 -0.0002 0.0150]/40;
model.B0=1e-3*[-0.3908 -0.1279 0.7047 0.0591 0.2161 -0.6635];
model.B00=0.056;
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-09-21 23:18 YPAP113 Economic Dispatching\
目录 0 2015-09-21 23:19 YPAP113 Economic Dispatching\01 Economic Dispatching using PSO\
文件 1833 2015-09-21 23:27 YPAP113 Economic Dispatching\01 Economic Dispatching using PSO\CreateModel.m
文件 1350 2015-08-23 04:39 YPAP113 Economic Dispatching\01 Economic Dispatching using PSO\license.txt
文件 1019 2015-09-21 23:27 YPAP113 Economic Dispatching\01 Economic Dispatching using PSO\ModelCalculations.m
文件 518 2015-09-21 23:27 YPAP113 Economic Dispatching\01 Economic Dispatching using PSO\MyCost.m
文件 971 2015-09-21 23:27 YPAP113 Economic Dispatching\01 Economic Dispatching using PSO\ParseSolution.m
文件 4189 2015-09-21 23:27 YPAP113 Economic Dispatching\01 Economic Dispatching using PSO\pso.m
文件 121 2015-08-23 04:35 YPAP113 Economic Dispatching\01 Economic Dispatching using PSO\www.yarpiz.com.url
目录 0 2015-09-21 23:19 YPAP113 Economic Dispatching\02 Economic Dispatching using Nested PSO\
文件 1808 2015-09-21 23:28 YPAP113 Economic Dispatching\02 Economic Dispatching using Nested PSO\CreateInternalModel.m
文件 1886 2015-09-21 23:28 YPAP113 Economic Dispatching\02 Economic Dispatching using Nested PSO\CreateModel.m
文件 1350 2015-08-23 04:39 YPAP113 Economic Dispatching\02 Economic Dispatching using Nested PSO\license.txt
文件 1026 2015-09-21 23:28 YPAP113 Economic Dispatching\02 Economic Dispatching using Nested PSO\ModelCalculations.m
文件 525 2015-09-21 23:27 YPAP113 Economic Dispatching\02 Economic Dispatching using Nested PSO\MyCost.m
文件 1129 2015-09-21 23:27 YPAP113 Economic Dispatching\02 Economic Dispatching using Nested PSO\MyCostExt.m
文件 930 2015-09-21 23:27 YPAP113 Economic Dispatching\02 Economic Dispatching using Nested PSO\ParseSolution.m
文件 464 2015-09-21 23:27 YPAP113 Economic Dispatching\02 Economic Dispatching using Nested PSO\ParseSolutionExt.m
文件 4206 2015-09-21 23:27 YPAP113 Economic Dispatching\02 Economic Dispatching using Nested PSO\pso.m
文件 4432 2015-09-21 23:27 YPAP113 Economic Dispatching\02 Economic Dispatching using Nested PSO\RunInternalPSO.m
文件 121 2015-08-23 04:35 YPAP113 Economic Dispatching\02 Economic Dispatching using Nested PSO\www.yarpiz.com.url
文件 1350 2015-08-23 04:39 YPAP113 Economic Dispatching\license.txt
文件 121 2015-08-23 04:35 YPAP113 Economic Dispatching\www.yarpiz.com.url
- 上一篇:多目标粒子群算法matlab源程序
- 下一篇:NSGA-3matlab源程序
相关资源
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
- k近邻算法matlab实现
- matlab识别系统
- 神经网络分类matlab程序
- matlab正弦信号发生器的设计
评论
共有 条评论