Optimization of a power system using matlab and Genetic Algorithm

I'm using genetic algorithm with matlab to optimize the control of a power system taking into consideration the whole power flows in the power system to satisfy the power balance with respect to conversion efficiency and all other imposed constraints so I have a lot of big equations and formulations.
The problem is that I stuck at the begening of my code because the documetation and examples are very rare on the net, I'm trying to do somthing like this :
min Ctot = Cwt+Cpv+Cs+Cb
with respect to :
Ppv(t) + Pwt(t) = Pb(t) - Pl(t), t ∈ {t0,t0+∆t,...,t0+nt}
If Ppv(t) > Pl(t) then Pb(t)=0
Ppv_max ≤ Ppv(t)≤ Ppv_min
....
Pl : load power output
Ppv : Photovoltaic power output
Ctot : total cost of energy of the power system
....
I wish to create a "m" file or fintenss function of matlab using GA of formulations described above?

Answers (3)

1 Comment

I appriciate your help and I saw the example and I found it very helpful, but still I'm confused how to use this examples to do a code for formulations described in my first message, I wish just a small example with my real case to get really what you want to say and to start programming...

Sign in to comment.

is there any one working.....genetic algorithm matlab code for power, speed optimization in two-step 16bit flash analog-to-digital converter. basic program....

Asked:

on 16 Aug 2016

Answered:

on 12 Apr 2023

Community Treasure Hunt

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

Start Hunting!