Real Heat Engine