Studiot
"Although I think legend_xeon has left the party, please note his actual question
which was not about efficiency."
LEGEND_XENON
"Then how is heat addition/rejection possible at constant temperature?"
I already gave two posts. However, I may not have answered his question
directly. So, here is another try.
In the near Carnot cycle, the temperature inside the container is never
completely constant. The temperature of the container is slightly different
from the temperature of the heat reservoir that it is in contact with during
the isothermal parts of the cycle. The temperature of the container slowly
changes until it is the same temperature as the reservoir.
The OP's hypothesis, that the temperature is constant, is not precisely true
for the container. It can be true for the reservoir, but not the container with
the ideal gas. The hypothesis that the temperature of the container be
constant is only self consistent in the limit of a cycle with an infinite period of
time.
Suppose that the container is placed at time,t=0, on the cold reservoir
which is at a temperature of 100 degrees. Suppose, at time, t=0, the container
is at a temperature 101 degrees.
As heat leaves the container, the temperature of the container decreases.
At time t=10 seconds, the temperature of the container can be 100.3 degrees.
At time t=20 degrees, the temperature of the container can be 100.1 degrees.
Hence, the temperature of the container is not constant during the isothermal
parts of the cycle. It is just changing very slowly.
As someone else pointed out, the Carnot cycle works in the limit where
every cycle takes an infinite amount of time. The less the initial temperature
difference between container and reservoir, the closer the engine is to the
Carnot limit. However, the smaller the initial difference between container
and reservoir the longer it takes to transfer a given amount of heat energy.
I want to thank the OP for asking that question. Before he asked the
question, I didn't know about the trade-off between efficiency and time.
The key in understanding this trade off is realizing that the temperature
of the container and the temperature of the reservoir is going to be nonzero
in the real world.
Carnot point out that if the container and the reservoir had a different
temperature, the efficiency of the engine would be smaller than the maximum
possible efficiency. I figured out the answer to the OP's question by going over
Carnot's original monograph. Once I realized that the temperature of the
container and the reservoir is going to be nonzero in the real world, I realized
that there had to be a transfer of heat energy in the real world because of this
difference. The use of formulas for heat conductivity helped me realize that
the speed of the engine increases with this temperature difference. So sometimes
it is useful to go back to the original sources, even if it was written in 1815 !-)