Exergy Workflows
Purpose
Use exergy targeting when you need exergy metrics and exergetic graphs for an already solved thermal target.
Prerequisites
Run a compatible direct, indirect, or HPR thermal target first. Exergy is post-processing; it enriches an existing target family rather than solving a new thermal target from scratch.
Sample Case
Use pulp_mill.json for site-style exergy interpretation after a Total Site
target.
Runnable Workflow
from OpenPinch import PinchProblem
problem = PinchProblem("pulp_mill.json")
problem.target.indirect_heat_integration()
exergy_target = problem.target.exergy(
options={"base_target_type": "Total Site Target"},
)
summary = problem.summary_frame()
Expected Output
The selected thermal target is enriched with fields such as
exergy_sources, exergy_sinks, ETE, exergy_req_min, and
exergy_des_min.
Interpretation
Read the exergy result after the thermal picture is clear:
confirm which target family was enriched
inspect
exergy_sourcesandexergy_sinksinspect
exergy_req_minandexergy_des_mininspect exergetic graph families
Graph accessors are available after enrichment:
gcc_x = problem.plot.exergetic_grand_composite_curve()
nlp_x = problem.plot.exergetic_net_load_profiles()
Use zone_name=..., include_subzones=True, and period_id=... when
the exergy scope needs to match a specific thermal solve.
Next Steps
Graphing and Interpretation for graph reading order.
PinchProblem for the wrapper surface.
Service Layer for the post-processing boundary.