First, please post your question only once. Second, please use a new subject line when posting a new question.
Now to your question, have you looked at the MATPOWER Optimal Scheduling Tool (MOST)? If so, please feel free to ask any specific questions you have about how to use it. If not, I suggest you become familiar with the MOST User’s Manual<https://matpower.org/docs/MOST-manual-1.0.2.pdf> and especially the tutorial examples in Chapter 7. Best regards, Ray On Jan 15, 2020, at 5:28 AM, sebaa haddi <sebaa...@yahoo.fr<mailto:sebaa...@yahoo.fr>> wrote: Dear Yang H Y, I need more code in Matlab about SUC or Unit commitment and optimal power flow I thank you very much