A power generation system, comprising: a first heating fluid circuit thermally coupled to a first plurality of heat sources (102a-102g) from a first plurality of sub-units of a petrochemical refining system, the first plurality of sub-units comprising a hydrocracking plant; a second heating fluid circuit thermally coupled to a second plurality of heat sources (103a- 103c) from a second plurality of sub-units of the petrochemical refining system, the second plurality of sub-units comprising a diesel hydrotreating reaction and stripping plant; a third heating fluid circuit thermally coupled to a third plurality of heat sources (105a-105i) of a third plurality of sub-units of the petrochemical refining system, the third plurality of sub-units comprising a CCR plant, a portion of the aromatics plants separation system, and a utility system sour water stripping plant; a fourth heating fluid circuit thermally coupled to a fourth plurality of heat sources (107a-107b) of a fourth plurality of sub-units of the petrochemical refining system, the fourth plurality of sub-units comprising an aromatics plant benzene extraction unit and a CCR/aromatics plant; a fifth heating fluid circuit thermally coupled to a fifth plurality of heat sources of a fifth plurality of sub-units of the petrochemical refining system, the fifth plurality of sub-units comprising a para-xylene separation unit; a power generation system that comprises an organic Rankine cycle, the organic Rankine cycle comprising i) a working fluid that is thermally coupled to the first through fifth heating fluid circuits to heat the working fluid, and ii) an expander configured to generate electrical power from the heated working fluid; and a control system configured to actuate a first set of control valves to selectively thermally couple the first heating fluid circuit to at least a portion of the first plurality of heat sources, the control system also configured to actuate a second set of control valves to selectively thermally couple the second heating fluid circuit to at least a portion of the second plurality of heat sources, the control system also configured to actuate a third set of control valves to selectively thermally couple the third heating fluid circuit to at least a portion of the third plurality of heat sources, the control system also configured to actuate a fourth set of control valves to selectively thermally couple the fourth heating fluid circuit to at least a portion of the fourth plurality of heat sources, and the control system also configured to actuate a fifth set of control valves to selectively thermally couple the fifth heating fluid circuit to at least a portion of the fifth plurality of heat sources. a first heating fluid circuit thermally coupled to a first plurality of heat sources (102a-102g) from a first plurality of sub-units of a petrochemical refining system, the first plurality of sub-units comprising a hydrocracking plant; a second heating fluid circuit thermally coupled to a second plurality of heat sources (103a- 103c) from a second plurality of sub-units of the petrochemical refining system, the second plurality of sub-units comprising a diesel hydrotreating reaction and stripping plant; a third heating fluid circuit thermally coupled to a third plurality of heat sources (105a-105i) of a third plurality of sub-units of the petrochemical refining system, the third plurality of sub-units comprising a CCR plant, a portion of the aromatics plants separation system, and a utility system sour water stripping plant; a fourth heating fluid circuit thermally coupled to a fourth plurality of heat sources (107a-107b) of a fourth plurality of sub-units of the petrochemical refining system, the fourth plurality of sub-units comprising an aromatics plant benzene extraction unit and a CCR/aromatics plant; a fifth heating fluid circuit thermally coupled to a fifth plurality of heat sources of a fifth plurality of sub-units of the petrochemical refining system, the fifth plurality of sub-units comprising a para-xylene separation unit; a power generation system that comprises an organic Rankine cycle, the organic Rankine cycle comprising i) a working fluid that is thermally coupled to the first through fifth heating fluid circuits to heat the working fluid, and ii) an expander configured to generate electrical power from the heated working fluid; and a control system configured to actuate a first set of control valves to selectively thermally couple the first heating fluid circuit to at least a portion of the first plurality of heat sources, the control system also configured to actuate a second set of control valves to selectively thermally couple the second heating fluid circuit to at least a portion of the second plurality of heat sources, the control system also configured to actuate a third set of control valves to selectively thermally couple the third heating fluid circuit to at least a portion of the third plurality of heat sources, the control system also configured to actuate a fourth set of control valves to selectively thermally couple the fourth heating fluid circuit to at least a portion of the fourth plurality of heat sources, and the control system also configured to actuate a fifth set of control valves to selectively thermally couple the fifth heating fluid circuit to at least a portion of the fifth plurality of heat sources.