Market-Based Economic Dispatch