一、微网系统运行优化模型
微电网优化模型介绍:
微电网多目标优化调度模型简介_IT猿手的博客-CSDN博客
二、蜘蛛蜂优化算法
蜘蛛蜂优化算法(Spider wasp optimizer,SWO)由Mohamed Abdel-Basset等人于2023年提出,该算法模型雌性蜘蛛蜂的狩猎、筑巢和交配行为,具有搜索速度快,求解精度高的优势。
蜘蛛蜂优化算法(Spider wasp optimizer,SWO)_IT猿手的博客-CSDN博客
三、SWO求解微电网优化
(1)部分代码
close all;
clear ;
clc;
global P_load; %电负荷
global WT;%风电
global PV;%光伏
%%
TestProblem=1;
[lb,ub,dim,fobj] = GetFunInfo(TestProblem);
SearchAgents_no=100; % Number of search agents
Max_iteration=1000; % Maximum number of iterations
[Best_score,Xbest,Convergence_curve]=SWO(SearchAgents_no,Max_iteration,lb,ub,dim,fobj);
%% 画结果图
figure(1)
semilogy(Convergence_curve,'r-','linewidth',2);
legend('SWO');
xlabel('迭代次数')
ylabel('运行成本与环境保护成本之和')
(2)部分结果







![[移动通讯]【Carrier Aggregation-4】【LTE-1】](https://img-blog.csdnimg.cn/4a67fa9d528c4acda5bb86dcabc4c1dc.png)













![[贪心] 常见区间问题](https://img-blog.csdnimg.cn/02023fecafd548f9857a6254455bd582.png)


