Combined diesel or gas turbine