Unit Commitment #1347
Answered
by
johanlofberg
A-A-123
asked this question in
Problems using YALMIP
Unit Commitment
#1347
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
johanlofberg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Following a proposed tutorial on unit commitment (https://yalmip.github.io/example/unitcommitment/). I do have two questions please:
In case another factor (Alpha) needs to be included in the model, then how can this happen? Currently, cost function is (CP+QP^2), and it is proposed to have it as (Alpha+CP+QP^2), where Alpha is simply fixed and does not depend on P but it is deafferent for each generator unit. Should the objective be as:
Objective = Objective +Alpha*onoff(:,k)+ P(:,k)'QP(:,k) + C*P(:,k);
I keep getting different results by changing the initial value of Objective from Objective=0 to Objective=[], and the stairs(value(P)') is totally different for each case, why is that (I have another case where the code shows error if Objective=0 but it runs fine when Objective=[])?
When Objective=[], the following message is shown but no list of iterations:
"ptimal solution found. Intlinprog stopped at the root node because the objective value is within a gap tolerance of the optimal value, options.AbsoluteGapTolerance = 0. The intcon variables are integer within tolerance, options.IntegerTolerance = 1e-05."
Beta Was this translation helpful? Give feedback.
All reactions