13.02.2013 Views

Design of an Automatic Control Algorithm for Energy-Efficient ...

Design of an Automatic Control Algorithm for Energy-Efficient ...

Design of an Automatic Control Algorithm for Energy-Efficient ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Optimiser code 166<br />

552 <strong>for</strong>( k =0; k (basePop [ j∗DV.numDV+k] conDivThresh∗(DV.ub[<br />

if(check)<br />

k] DV.lb[k]));<br />

558 sortedPop [ i ]. r<strong>an</strong>king++;<br />

560 check = 1;<br />

}<br />

/∗ find individuals close to chosen control output∗/<br />

562 <strong>for</strong>( k =0; k (elitePop [k] conDivThresh∗(DV.ub[k] DV.lb[k]));<br />

if(check)<br />

568 sortedPop [ i ]. r<strong>an</strong>king++;<br />

570<br />

}<br />

/∗ store individuals with lowest neighbours in the storage <strong>for</strong> next run ∗/<br />

572 elite_count = 1;<br />

k = 0;<br />

574 while(elite_count < numElite)<br />

{<br />

576 <strong>for</strong>( i=0;i

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!