Development of a stochastic model for the economic dispatch of electric power