Unit commitment model