In this paper is presented a wording of the thermoeconomic optimization of the energetic plants with internal combustion engines and the consideration of some stochastic independent variables by using stochastic process optimization methods since the design phase.