How can I minimize absolue value in a power optimprob?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Danny
el 21 de Oct. de 2021
Comentada: Matt J
el 21 de Oct. de 2021
Hi everybody,
I'm studying a power optimprob which involves a microgrid composed by a PV system, an energy storage, loads and an EV. It is summed up as a big node in which I assume absorbed power is negative (i.e. loads) and generated power is positive (i.e PV), so that I have power balance as:
Ppv+Pbatt+Pev+Pload=Pgrid
where Pg is the power flow delivered from (or to) the main grid. The objective is to minimize the integral of Pgrid abs value, so that the power exchanges beetween the main grid and the power grid are minimized, while the control variables are Pbatt and Pev; Ppv and Pload are fixed.
After the setting of constraints , how can I formulate this problem? How can I define my objective function? Have I to set Pgrid too as an optimvar? And how should I treat abs value?
2 comentarios
Rik
el 21 de Oct. de 2021
I don't understand your system well enough to understand what your question is. It sounds like you first need to find out what exactly you want to know before you can start with the implementation.
Respuesta aceptada
Matt J
el 21 de Oct. de 2021
Editada: Matt J
el 21 de Oct. de 2021
The objective is to minimize the integral of Pgrid abs value... while the control variables are Pbatt and Pev; Ppv and Pload
If your unknown vector is x=[Pbatt;Pev; Ppv; Pload] then your problem sounds like the L1-norm minimization,
where C is just C=[1;1;1;1] and C*x=Pgrid.
If I've interpreted correctly, then minL1lin is applicable
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Export to MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!