In this paper, the Integrated Optimal Design (IOD) approach for energetic system design is discussed. IOD aims at concurrently optimizing the architecture, the element sizing and the energy management in an energetic system. IOD leads to complex optimization problems (typically mixed variable problems with several constraints and multiple objectives) which can be solved with direct optimization methods. We illustrate the interest of this approach through the design of a hybrid environmentally friendly locomotive moved by four DC motors supplied by a diesel engine generator in association with electric storage elements (batteries and ultracapacitors).