Skip to content

HDA two-flash: ePC-SAFT property package and phase-root qualification (ePC-SAFT #73) - #1

Draft
tannerpolley wants to merge 4 commits into
Tutorial-Updatefrom
idaes/hda-epcsaft-73
Draft

tannerpolley wants to merge 4 commits into
Tutorial-Updatefrom
idaes/hda-epcsaft-73

Conversation

@tannerpolley

@tannerpolley tannerpolley commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

Refs tannerpolley/ePC-SAFT#73. Draft; this is the downstream side of Engine PR tannerpolley/ePC-SAFT#175.

What changed

  • idaes_examples/mod/hda/epcsaft_eos.py: an IDAES modular-properties EoS that consumes the installed ePC-SAFT wheel's ASL function epcsaft_pressure_property for density, total enthalpy and component ln φ_i, with exact gradients and Hessians. It covers the SmoothVLE _teq rows and the LogBubbleDew Tbub/Tdew/Pbub/Pdew rows. No thermodynamic formula is reimplemented and no Engine source is imported.
  • hda_epcsaft_VLE.py: an all-species-condensable SmoothVLE/LogBubbleDew configuration. hda_two_flash_epcsaft.py: the two-flash recycle flowsheet with a property switch and the corrected ideal baseline. hda_epcsaft_qualification.py: the qualification driver. epcsaft_inputs/: materialized parameter document (SHA-256 c41ac486…6822) and NASA9 records (d1341f07…c39b).
  • Corrected ideal baseline. The adiabatic, fixed-conversion reactor reproduces the recorded 771.857 K outlet (771.8571 K). Its optimization from all three fixed starts reaches 312674.2456 USD/yr at (500 K, 301.881 K, 362.935 K, 105000 Pa).

Results

These are on the Engine wheel with SHA-256 60b15ce85a065fdbc98d40c9597f6e93775d39fbefd613866410804287dd9854 (ASL library af60d475…73d9).

  • Property transport. The IDAES package reproduces Mixture.state to 1.9e-12 relative at the issue's four states, both phases.
  • Supported negative at study step 4. With H2 and CH4 condensable, SmoothVLE needs a bubble temperature for every stream. The hydrogen-rich process streams have none at 0.35 MPa: Σ K_i z_i is 28 to 2.9e14 wherever a liquid-like root exists (retained bubble_sum_at_stream_pressure.csv), and every IDAES bubble row converges only to the trivial root. The gas feed’s only candidate (19.74 K, liquid H2 below the CH4 triple point) is out of domain. The ePC-SAFT simulation and optimization (steps 5–6) were therefore not run, following the issue's stop rule. Dew points and the aromatic bubble points do exist.

Details and claim limits are in hda_epcsaft_results/README.md.

Budget

Downstream executables total 609 physical lines against the issue's 550-line allocation. An amendment is requested; it is not approved.

🤖 Generated with Claude Code

tannerpolley and others added 4 commits September 25, 2026 18:19
…-root qualification (ePC-SAFT IDAES#73)

ePC-SAFT modular EoS via the installed Engine ASL callback, SmoothVLE/LogBubbleDew
config with all species in both phases, two-flash flowsheet with adiabatic
fixed-conversion reactor, ideal-baseline campaign, and a public-API row audit.
Qualification finds no genuine bubble temperature for the hydrogen-rich streams
(supported negative at study step 4).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…IDAES#73)

Final wheel 60b15ce8, ASL af60d475: property transport, callback domain,
LogBubbleDew bubble/dew attempts from 80-400 K with audits, Engine-driver
bubble-pressure diagnostic, ideal baseline. Supported negative at study step 4.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…pressure (ePC-SAFT IDAES#73)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant