Power generation by extracting heat from the environment?

Which makes me wonder: why isn't it practicable to generate electricity by drawing thermal energy from the environment?

You can do it but it may not be practicable because you will always need to find an even lower temperature environment to reject some heat to and the efficiency would probably be very low. There will always be the need to reject some heat to a lower temperature environment in order to produce net work in a cycle. The Kelvin Planck statement of the second law, essentially says:

It is impossible for any device that operates on a cycle to receive heat from a single reservoir and produce a net amount of work.

The left most diagram below shows a violation of the Kelvin Planck statement. Although it is possible for a single process within a cycle to extract heat and produce work, such as the reversible isothermal expansion of a Carnot heat engine cycle, it is not possible as the sole result of a thermodynamic cycle. You will always need a lower temperature environment to reject some heat.

Regarding efficiency, let's say you take heat from outdoors on a hot summer day of 100 F (311 K) to operate your heat engine and reject heat indoors at say 70 F (294 K). The maximum (Carnot) efficiency of your engine will be $1-\frac{T_L}{T_H}$ or about 5%.

Do the laws of physics prevent the heat that heat pumps deliver from being used for electricity generation by whatever means (e.g. steam turbine)?

No, but I agree with @Andrew Steane answer that the best you can do is break even by using the work output of a perfect heat engine to provide the needed work input to operate a perfect heat pump.

The right two diagrams shows what Andrew describes as a perfect heat pump (a Carnot heat pump) driving a perfect heat engine (a Carnot heat engine). The heat delivered to the high temperature reservoir by the heat pump is taken by the heat engine to produce work output rejecting some heat to the low temperature reservoir. The heat pump then takes that rejected heat from the low temperature reservoir and uses the work output of the heat engine as its work input required to deliver heat to the high temperature reservoir.

As Andrew stated the best that can be done (for a Carnot heat engine and Carnot heat pump) is for the electrical work produced by the heat engine to equal the electrical work required to operate the heat pump, for a net work of zero. And this can only occur if there is no overall (systems plus surroundings) increase in entropy, which is the case here for the following reasons.

Since both the heat pump and engine are operating in a cycle, the initial and final entropy (initial and final states of the systems) have to be the same, for total entropy changes of each system equal to zero.

The total entropy change of the high temperature reservoir is zero since the heat delivered to it by the heat pump equals the heat taken from it by the heat engine, each divided by the same temperature.

Likewise the total entropy change of the low temperature reservoir is zero since the heat extracted from it by the heat pump equals the heat rejected to it by the heat engine, each divided by the same temperature.

The net result is that the total entropy change of the systems plus surroundings is zero, which can only occur for reversible processes. For all real processes there will be an increase in total entropy. That, in turn, would mean less efficiency for both the heat pump and heat engine, i.e., less work output for the heat engine for the same heat input from the high temperature environment, and more work input needed for the heat pump to transfer the same amount of heat to the high temperature environment.

Hope this helps.

enter image description here


This is all about entropy and the difference between heat and work. Electrical power is a form of work. To get work output using heat transfer, the best one can do is such that there is no net change in entropy of the system and its surroundings. So you run a reversible heat engine (power stations in practice do their best to get close to this ideal case). In such a heat engine, the entropy drawn out of the hot side $\Delta S_1 = Q_1/T_1$ is equal to the entropy delivered to the cold side $\Delta S_2 = Q_2/T_2$ so the heats exchanged are in the ratio $$ \frac{Q_1}{Q_2} = \frac{T_1}{T_2} $$ The work obtained, which you can consider the electrical energy generated, is $$ W = Q_1 - Q_2 $$ So the efficiency, measured as work out per amount of heat supplied, is $$ \frac{W}{Q_1} = 1 - \frac{Q_1}{Q_2} = 1 - \frac{T_1}{T_2} . $$ This is all completely standard thermodynamics of heat engines. Your heat pump works by the same principle. In the heat pump, $Q_1$ is the heat delivered to the hotter place, and $W$ is the work supplied in order to make this possible. Overall, therefore, if you use a perfect heat pump to drive a perfect heat engine, then the net ratio of total electrical energy out to work energy supplied is $1$. You just break even and get no overall benefit. In practice, owing to imperfection such as friction and heat conduction, one won't achieve unit efficiency so instead there is a net loss of organised energy and a generation of heat and entropy.