25.基于混合整数规划方法的微网电池储能容量优化配置

配电网经济优化

关键词:储能容量优化  储能配置  微网

编程语言:matlab

主题:基于混合整数规划方法的微网电池储能容量优化配置

主要内容:

本代码目的为实现微电网内电池容量的优化配置,目标函数为配置过程中整体的运行成本最小或者经济效益最大化,约束条件则包括相应的运行约束以及能量平衡约束等等,最后将模型化简为一个混合整数线性规划问题,采用matlab对其进行高效求解。

部分结果截图:

%% ***************************************************************************** 
%data processing
bet=bounds_efficiency_temp;
bounds_efficiency=[bet(1)*inverter_size/100 bet(2)*inverter_size/100 bet(3)*inverter_size/100 bet(4)*inverter_size/100]; %KW
%bounds_efficiency=[0 4 5 6];

% read the input data
% tic
% Load=xlsread(path_data,'A1:A8'); %Load (KW) per each quarter hour
% Load=Load';
% PV=xlsread(path_data,'B1:B8'); %PV generation (KW) per each quarter hour
% PV=PV';
% c=xlsread(path_data,'C1:C8'); %Price of buy 1KWh per each quarter hour
% c=c';
% k=xlsread(path_data,'D1:D8'); %Price of sell 1KWh per each quarter hour
% k=k';
% c=c/4; %Price of buy 1KW continually for 15 mins
% k=k/4; %Price of sell 1KW continually for 15 mins
%  

% read_time=toc

% tic
% Load=xlsread(path_data,'N1:N96'); %Load (KW) per each quarter hour
% Load=Load';
% PV=xlsread(path_data,'O1:O96'); %PV generation (KW) per each quarter hour
% PV=PV';
% c=xlsread(path_data,'P1:P96'); %Price of buy 1KWh per each quarter hour
% c=c';
% k=xlsread(path_data,'Q1:Q96'); %Price of sell 1KWh per each quarter hour
% k=k';
% c=c/4; %Price of buy 1KW continually for 15 mins
% k=k/4; %Price of sell 1KW continually for 15 mins
%  

% read_time=toc

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

程高兴

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值