一、微电网模型介绍
微电网多目标优化调度模型简介_vmgpqv-CSDN博客
参考文献:
[1]李兴莘,张靖,何宇,等.基于改进粒子群算法的微电网多目标优化调度[J].电力科学与工程, 2021, 37(3):7
二、红嘴蓝鹊优化器求解微电网
2.1算法简介
红嘴蓝鹊优化器(Red-billed Blue Magpie Optimizer,RBMO)由Fu Shengwei 等人于2024年提出,其灵感来自红嘴蓝鹊的高效合作捕食行为,具体模拟了红嘴蓝鹊的搜索、追逐、攻击猎物和食物储存行为。
参考文献
[1]Fu, S., Li, K., Huang, H. et al. Red-billed blue magpie optimizer: a novel metaheuristic algorithm for 2D/3D UAV path planning and engineering design problems. Artif Intell Rev 57, 134 (2024). Red-billed blue magpie optimizer: a novel metaheuristic algorithm for 2D/3D UAV path planning and engineering design problems | Artificial Intelligence Review
2.2部分代码
close all; clear ; clc; global P_load; %电负荷 global WT;%风电 global PV;%光伏 %% TestProblem=1; [lb,ub,dim,fobj] = GetFunInfo(TestProblem); SearchAgents_no=50; % Number of search agents Max_iteration=100; % Maximum number of iterations [Best_score,Xbest,Convergence_curve]=(SearchAgents_no,Max_iteration,lb,ub,dim,fobj); %% 画结果图 figure(1) semilogy(Convergence_curve,'r-','linewidth',2); legend(''); xlabel('迭代次数') ylabel('运行成本与环境保护成本之和') saveas(gca,'1.jpg');
2.3部分结果
三、完整MATLAB代码
v