i have a question on how do i write co2 emission constraint codes?

2 Kommentare

Matt J
Matt J am 27 Jun. 2022
in the context of....?
afiq amirul
afiq amirul am 27 Jun. 2022
in the context of the total capacity, Rj. here is the full eqn sir

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Torsten
Torsten am 27 Jun. 2022
Bearbeitet: Torsten am 27 Jun. 2022

0 Stimmen

Every M_CO2^t will be a solution variable x(i) in your optimization.
So setting the constraints
-(x(i)-x(i-1)) <= 0 for i <=12
and
x(i)-x(i-1) <= 0 for i>12
in your matrix A should be no problem.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by