In it classical endoreversible Carnot engine model, irreversibility in the
form of heat resistance between the reversible Carnot cycle and its heat re
servoirs is taken into account. This paper presents a generalized irreversi
ble Carnot engine model that incorporates several internal irreversibilitie
s, such as heat leak, friction, turbulence etc. These added irreversibiliti
es are characterized by a constant parameter and a constant coefficient. Th
e relation between optimal power output and efficiency is derived based on
a generalized heat transfer law Q proportional to Delta(T-n). The effect of
heat leakage, internal irreversibility and heat transfer law on the optima
l performance of the generalized irreversible heat engine is investigated.