I am using GA in optimizing energy systems to reach minimum cost , I have a confusion where to insert the modeling equations whether in the objective function m file or the constraints m file and how can I use the ga toolbox in this case ?

1 view (last 30 days)
I am using GA in optimizing energy systems to reach minimum cost , I have a confusion where to insert the modeling equations whether in the objective function m file or the constraints m file and how can I use the ga toolbox in this case ? or do I have to use the ga function ?
  1 Comment
mohamed atef
mohamed atef on 28 Jul 2018
here is a sample of the inputs and constraints lhv=55000; for k=1:9 pgt(k)=k1*qgt(k)^2+k2*qgt(k)+k3; png(k)=k4*qgt(k)^2+k5*qgt(k)+k6; png(k)=lhv*vgt(k); end

Sign in to comment.

Answers (0)

Products


Release

R2016b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!