- Ab Ka added an answer:Could it be possible implementing the fitness function of GA code in matlab to work with simulation rather than equations?
- Jinlong Li added an answer:How to make an interface between Matlab/simulink 7.9 and PSCAD X4?
- Do Toan added an answer:Does anyone use COMSOL Multiphysics for simulation?
- Garry Riviere added an answer:How can I deal with staggered grid boundary conditions?
- Anislei Santiesteban Velázquez added an answer:Using Real Time simulation in the case of off-line simulations has no problem to solve equations, could be an advantage to enrich research or no? Why?
- Adebayo Akanbi Oladapo added an answer:Can I modify receiver section of SAC-OCDMA by using MATLAB?
- Balakrishna S G added an answer:What is the best TeX editor for LaTeX?
- Simon Schröder added an answer:Which computer language (C, Fortran, Visual basic) is faster in the CFD using FEM? Do any of them work with VBE?
- Naveen Kumar Boiroju added an answer:How to approximate the cdf of t-distribution efficiently?
- Ivana Oleksakova added an answer:I am looking for software for simulation of wind for Mac OS.
- Boris M. Vulović added an answer:Empirical Tight-Binding Method vs. Empirical Pseudopotentials Method: Pros and cons?
- Rivalino Matias Jr. added an answer:Which tools do you recommend for visual presentation (animation) of process scheduling in an operating system course?
- Ulrich Welling added an answer:Can anyone help me to find out the polarizable forcefiled for single gold atom in water?
- Alaa Alwaisy Alwaisy added an answer:Is there any one who worked or working on LIBSVM??
- Magnus Eriksson added an answer:Can anyone help with simulating WSN routing protocols?
- Corey Allen Moffet added an answer:Simulation models or submodels combining plant/vegetation growth with herbivore grazing
- Ovidiu Borchin added an answer:What may have in common the elementary particles physics with hydrodynamics, differential geometry and our knowledge?
- Viktor Vojtko added an answer:Churn problem analysis, modelling and simulation for Mobile Telecommunications?
- Gawas A added an answer:Where can I get hydraulic and mechanical circuit simulation done?
- Ibrahim Dauda Muhammad added an answer:How do I simulate nanotubes using ANSYS?
- Shao Weidong added an answer:Can I use LBM to simulate the flow field with high resolution?
- Sarwan Kumar Dubey added an answer:How can I use the TRS model for "water quality index" variable?
- Sanat Kumar Tiwari added an answer:Radially averaged power spectral density (PSD) in 3D space?
- Dennis Schmitz added an answer:How can I create a power law filter in matlab ( 1/f^x )?
- Muhammad Zakarya added an answer:How to simulate a trusted cloud computing platform?
- Hoskoti L added an answer:I need tutorial materials in modeling and simulation of wave propagation(Lamb,P,S and Ultrasonic) using ANSYS. Thanks in advance
- Sankar Padmanabhan added an answer:Why most transaction in ieee accept modelling and simulation?

I chose the GA for optimization by writing the program using ga code in matlab. This program is ok if I put the terms of fitness function as equations; for example:

y1=1/(s+10)(s+2)

y2=1(s+par)(s+2)

f=sum(y1-y2)^2

When I run the program the ga graphs and results is fine, and par=10.

However, when I put these equations as a model in simulation, the ga graphs (best value) is constant (line) which is incorrect.

My issue is that I need to import y1 from the simulation and y2 from data results to estimate par.

Really I got stuck in this point which is how can I use ga with simulation.

Moreover, I can share the knowledge with who is interested in.

Thanks