Fundamentals of heat engines. (2020)