Day-Ahead Scheduling Of Power Sources Integrated In A Smart Grid