Notebook Series
OpenPinch ships with a packaged notebook series that is treated as part of the supported learning and regression surface. The notebooks are ordered so users can choose one of three paths: solve a case with advanced methods, understand the method behind the outputs, or integrate OpenPinch into another application.
Included Notebooks
01_first_solve_summary_graphs.ipynbFoundation notebook for a single
PinchProblemsolve, validation, summary tables, graph interpretation,area_cost()output, and aPinchWorkspacedt_contsensitivity study on a real crude preheat train case.02_total_site_sugcc_interpretation.ipynbMethod notebook for
pulp_mill.jsonTotal Site analysis, local versus site targeting, a realBleachinglocal GCC screen, serialized graph data inspection, SUGCC interpretation, and cogeneration context.03_multiperiod_workspace_scenarios.ipynbScenario notebook for
crude_preheat_train_multiperiod.jsonandzonal_site_multiperiod.json, includingperiod_ids,target_all_periods(), period-specific direct and indirect integration, and cross-period utility comparison.04_carnot_heat_pump_screening.ipynbAdvanced-method notebook for direct and indirect Heat Pump screening on
chocolate_factory.json. It uses the publicproblem.target.*andproblem.plot.*surfaces withHPRcycle.CascadeCarnotandHPRcycle.ParallelCarnotoptions.05_direct_gas_stream_mvr_scenarios.ipynbAdvanced-method notebook for direct gas/vapour process MVR on an in-memory
PinchWorkspacestudy. It compares baseline, dry MVR, and liquid-injection MVR cases, inspects replacement streams, and toggles the process component active state.06_vapour_compression_mvr_cascade_hpr.ipynbMethod notebook for the VC+MVR cascade HPR backend, including the configuration fields for VC and MVR stages, standalone MVR thermodynamics, stream profiles, graph interpretation, and external stream accounting.
07_heat_exchanger_network_synthesis.ipynbAdvanced-method notebook for the public HEN design accessors on the compact four-stream Yee and Grossmann benchmark. It covers
problem.design.enhanced_synthesis_method(...),problem.design.open_hens_method(), ranked network selection, manifests, and grid diagrams. The publicopen_hensname is retained.08_energy_transfer_analysis.ipynbMethod notebook for energy-transfer targeting on
pulp_mill.json, including heat-surplus/deficit tables, graph-ready energy-transfer diagram data, standard plot accessors, and Total Site versus local Direct Integration target selection.09_schema_service_exports_and_bundles.ipynbIntegrator notebook for
copy_sample_case(...), local-filePinchProblemloading, typedTargetInputrequests,pinch_analysis_service(...), Excel/graph export, workspace variant views, and bundle persistence.10_multiperiod_hpr_shared_design.ipynbFocused notebook for opt-in weighted multiperiod HPR design on
crude_preheat_train_multiperiod.json. It contrasts period-specific HPR optima with one shared Cascade Carnot design, inspectshpr_details, and uses weighted summary modes.
How To Use Them
Copy the full series:
openpinch notebook -o notebooks
Copy one notebook:
openpinch notebook --name 02_total_site_sugcc_interpretation.ipynb -o notebooks
Recommended Paths
- I want to solve a case with advanced methods
Work through notebooks 01, 03, 04, 05, 07, and 10. This path starts with the single-case solve and summary workflow, then moves into named periods, Heat Pump screening, process MVR case mutation, HEN synthesis, and shared multiperiod HPR design.
- I need to understand the method
Work through notebooks 02, 06, and 08. This path explains Total Site and SUGCC interpretation, VC+MVR cascade mechanics, and interval-level energy-transfer accounting.
- I am integrating or extending OpenPinch
Start with notebook 09 and pair it with API Reference. Add notebook 07 when your integration touches HEN synthesis, ranked network inspection, or solver-backed design workflows.
Why These Matter
The notebooks do more than demonstrate commands. They reveal the practical power of the package: direct single-case solves, named-case comparison, hierarchical targeting, graph-based interpretation, real multiperiod studies, advanced HPR cycle targeting, weighted shared HPR design, process-component MVR mutation, heat exchanger network synthesis, and stable programmatic boundaries built on the same packaged assets. The distributed copies are kept output-free so they do not ship stale plots, tracebacks, or machine-specific execution state.