A method for generating geothermal power in an organic Rankine cycle (ORC) operation in the vicinity of a wellhead during hydrocarbon production to thereby supply electrical power to one or more of in-field operational equipment, a grid power structure, and an energy storage device, the method comprising:
- during hydrocarbon production at a wellhead, determining, based on feedback from one or more temperature sensors, a temperature of a flow of wellhead fluid from the wellhead;
- and
- in response to a determination that the temperature is above vaporous phase change threshold of an organic working fluid, opening one or more heat exchanger valves, positioned between one or more heat exchangers and a wellhead fluid flow line, to allow continuous diversion of the flow of the wellhead fluid to one or more heat exchangers to facilitate transfer of heat from the flow of the wellhead fluid to the organic working fluid through the one or more heat exchangers, thereby to change phases of the organic working fluid from a liquid to a vapor within the one or more heat exchangers so as to cause a gas expander, in fluid communication with the one or more heat exchangers, to rotate a generator to generate electrical power from the ORC operation.