├── ZN.m ├── baseload.xlsx ├── cardemand.m └── myfen.m /ZN.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peacefullmind/Electric-vehicle-charging-scheduling-model-based-on-Lagrange-distributed-algorithm/de87912210b7ae7508ff8567cf7cfe85f87a9721/ZN.m -------------------------------------------------------------------------------- /baseload.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peacefullmind/Electric-vehicle-charging-scheduling-model-based-on-Lagrange-distributed-algorithm/de87912210b7ae7508ff8567cf7cfe85f87a9721/baseload.xlsx -------------------------------------------------------------------------------- /cardemand.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peacefullmind/Electric-vehicle-charging-scheduling-model-based-on-Lagrange-distributed-algorithm/de87912210b7ae7508ff8567cf7cfe85f87a9721/cardemand.m -------------------------------------------------------------------------------- /myfen.m: -------------------------------------------------------------------------------- 1 | function [L] = myfen(x,Pbiao,price,lambda,bsload,P_mft,Ntest) 2 | temp=0; 3 | 4 | 5 | for j=1:96 6 | temp=temp+Pbiao*(15/60*price(j)+lambda(j))*x(j); 7 | end 8 | temp2=0; 9 | 10 | for j=1:96 11 | temp2=temp2+lambda(j)*(bsload(j)-P_mft); 12 | end 13 | L=temp+temp2/Ntest; 14 | end 15 | 16 | 17 | --------------------------------------------------------------------------------