The units of the cost function defined by gencost are in $/hr. So for a quadratic cost like the one in your example, the units of the last 3 columns are: $/(hr - MW^2) $/MWh $/hr
Ray On May 9, 2022, at 1:27 AM, 122020316 <122020...@qq.com<mailto:122020...@qq.com>> wrote: Hi Prof. Zimmerman, I want to ask the unit name (for example: $/(MWh)) of the coefficients in the last 3 columns of gencost matrix in case file. In case file, mpc.gencost = [ 2 0 0 3 0.02 2 0; 2 0 0 3 0.0175 1.75 0; 2 0 0 3 0.0625 1 0; 2 0 0 3 0.00834 3.25 0; 2 0 0 3 0.025 3 0; 2 0 0 3 0.025 3 0; ]; What's the unit of "0.02 2 0;" in the last three column, respective, please? Thanks a lot. Regards, Yurong Southeast University