The method of optimization is used to select the optimal parameters of a Rankine cycle waste heat recovery power generation system for marine diesel engines. The calculation deals with a conventional single pressure steam system and a dual-pressure one.