How to formulate this GA constrain ?
Ältere Kommentare anzeigen
Hello, I am working in Wind Farm Layout Optimization Problem, using GA MATLAB, with some integer variables, I stuck in formulating the constrain for minimum distance among any two turbines inside the farm, for example: I have 35 turbines, are to be installed in 1800 m wide x 1500 m deep area (farm), with four design variables for each turbine ...
f(1:35) are the turbine's type ... integer
f(36:70) are the turbines' height ...
f(71:105) are the turbines' X-coordinates ...
f(106:140) are the turbines' Y-coordinates ...
I'd like to wright a constrain function to assign 300 m as a minimum allowable separating distance between any two turbines, (among any individual turbine and all other 34 turbines).
as the turbines' location being specified by Cartesian coordinates, so the distance between turbine i and turbine j is S(ij) = sqrt ((x(i)-x(j))^2 + (y(i)-y(j))^2)
thank you in advance,
Mamdouh
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Surrogate Optimization finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!