A system for generating power in thermal power operation in the vicinity of a wellhead during hydrocarbon production, thereby to supply electrical power to one or more of in-field equipment, a grid power structure, or energy storage devices, the system comprising:
- a first heat exchanger (a) including a first fluid path to accept and output a flow of wellhead fluid and a second fluid path to accept and output a flow of a first working fluid and (b) positioned to indirectly transfer heat from the flow of wellhead fluid to the flow of the first working fluid;
- a first temperature sensor to provide a first temperature of the flow of the first working fluid output from the second fluid path;
- a first valve positioned to divert the flow of the wellhead fluid from one or more wellheads to the first fluid path;
- a controller configured to signal the first valve to divert the flow of the wellhead fluid based on (a) when the first temperature reaches a vaporous phase-change temperature threshold and (b) production of wellhead fluid from the one or more wellheads;
- a second valve to adjust the flow of wellhead fluid from the one or more wellheads downstream based on (a) diversion of the flow of wellhead fluid to the first valve, (b) when the first temperature reaches the vaporous phase-change temperature threshold, and (c) production of wellhead fluid from the one or more wellheads;
- and
- a thermal power generator including a second heat exchanger, the second heat exchanger (a) including a third fluid path to accept and output the flow of first working fluid from the first heat exchanger and a fourth fluid path to accept and output the flow of a second working fluid and (b) positioned to indirectly transfer heat from the flow of the first working fluid to the flow of the second working fluid and cause the second working fluid to change phases from a liquid to a vapor, thereby to cause the thermal power generator to generate electrical power.