unit commitment code genetic algorithm matlab
#1

Hi everybody.
I willingly Need a unit commitment Code using any optimization technique, in particular using genetic algorithm. Would anybody help me please?

Best,
Rea Mat
Reply
#2

A classical problem in scheduling and integer programming is the unit commitment problem. In this problem, our task is to turn on and off power generating plants, in order to meet a forecasted future power demand, while minimizing our costs. We have several different power plants with different characteristics and running costs, and various constraints on how they can be used. We will start with a very simple model, and then expand this model with more advanced features. To make the code easy to read, we will write it in a verbose non-vectorized format.

Note that this is a completely fictitious example created by someone (me) with very little exposure and experience from this field. The purpose is to highlight modeling tricks and YALMIP, not to give a tutorial or best-practice description on unit commitment problems.

Before running these examples, you should install a strong MILP solver (if you don't have one installed, YALMIP will use its very naive internal integer solver BNB which will fail to solve most problems here in reasonable time, if at all).

Nunits = 3;
Horizon = 48;

Pmax = [100;50;25];
Pmin = [20;40;1];

Q = diag([.04 .01 .02]);
C = [10 20 20];

Pforecast = 100 + 50*sin((1:Horizon)*2*pi/24);


onoff = binvar(Nunits,Horizon,'full');
P = sdpvar(Nunits,Horizon,'full');



Constraints = [];
for k = 1:Horizon
Constraints = [Constraints, onoff(:,k).*Pmin <= P(:,k) <= onoff(:,k).*Pmax];
end

for k = 1:Horizon
Constraints = [Constraints, sum(P(:,k)) >= Pforecast(k)];
end

Objective = 0;
for k = 1:Horizon
Objective = Objective + P(:,k)'*Q*P(:,k) + C*P(:,k);
end
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: unit commitment by dynamic programming in matlab code, unit commitment problem matlab code download, code matlab genetic algorithm unit commitment, matlab coding for unit commitment, unit commitment matlab code genetic, unit commitment code matlab, matlab codes on security constraint unit commitment,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  matlab code 1 3,438 31-01-2019, 02:52 PM
Last Post: [email protected]
  underwater optical communication matlab code 0 3,291 02-11-2018, 07:32 PM
Last Post: Guest
  source code for blood group detection in matlab 0 6,365 22-10-2018, 10:59 AM
Last Post: Guest
  algorithm of railway reservation system 0 667 02-10-2018, 10:50 PM
Last Post: Guest
  hackchina matlab code 0 621 27-09-2018, 10:45 PM
Last Post: Guest
  heart disease prediction system source code for matlab 0 764 27-09-2018, 04:40 PM
Last Post: Guest
  matlab code for echo hiding 1 779 17-08-2018, 07:35 PM
Last Post: Guest
  matlab code for echo hiding 1 710 17-08-2018, 07:34 PM
Last Post: Guest
  download source code of zrp in matlab 0 730 14-08-2018, 02:48 PM
Last Post: Guest
  matlab source code for anomaly detection 0 605 01-08-2018, 08:00 PM
Last Post: Guest

Forum Jump: