[AI-Assisted] feat(refinery): add hydrogen emissions receipt - #3887
Merged
Merged
Conversation
Collaborator
Author
Publication checkpoint
|
Collaborator
Author
#3887 final exact-head qualification and external-merge audit
MERGED EXTERNALLY — EXACT-HEAD CI AND FIVE-PATH MERGE-COMMIT VERIFICATION COMPLETE. |
Collaborator
Author
#3887 final exact-head qualification and external-merge audit
MERGED EXTERNALLY — EXACT-HEAD CI AND FIVE-PATH MERGE-COMMIT VERIFICATION COMPLETE. |
Collaborator
Author
Post-merge exact-head audit — 2026-09-21PR #3887 was externally squash-merged as
POST-MERGE AUDIT COMPLETE — QUALIFIED BLOBS INTACT; MISSING HUMAN REVIEW RECORDED. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an immutable hydrotreating hydrogen-supply emissions receipt that applies explicit caller-owned emissions and carbon-price scenarios to the qualified external fresh-hydrogen utility balance.
Engineering contract
For fresh external H2 mass flow:
E_H2 = m_H2 * EF_H2[kg CO2e/h]C_CO2e = E_H2 * p_CO2e / 1000[caller-owned currency units/h]The caller supplies a non-negative hydrogen-supply emission factor in kg CO2e/kg fresh H2 and a non-negative carbon price in caller-owned currency units/tonne CO2e. Neither value is embedded as a NeqSim default, emissions dataset, market price, or fitted correlation.
Public-data qualification
The material basis composes the already qualified DOE/OEDI Big Hill hydrotreating receipts and their EIA, AIChE, and NIST evidence. With explicitly illustrative 10 kg CO2e/kg H2 and 100 currency-units/tonne CO2e scenario inputs, the 1000 kg/h case reports:
No measured emissions factor, production-pathway selection, lifecycle dataset, or commodity-price dataset is introduced.
Acceptance coverage
Frozen scope
Exactly five files:
src/main/java/neqsim/thermo/characterization/RefineryHydrotreatingHydrogenEmissionsBalance.javasrc/test/java/neqsim/thermo/characterization/RefineryHydrotreatingHydrogenEmissionsBalanceTest.javadocs/thermo/characterization/refinery_hydrotreating_hydrogen_emissions_balance.mddocs/test_refinery_hydrotreating_hydrogen_emissions_balance_documentation.pydocs/thermo/characterization/README.mdValidation
Java, Spotless, documentation, CodeQL, PaperLab, and full matrices are delegated to hosted exact-head CI and are not claimed before completion.
STATUS: MERGED EXTERNALLY — EXACT-HEAD CI AND FIVE-PATH MERGE-COMMIT VERIFICATION COMPLETE.
Boundaries and governance
This is indirect scenario bookkeeping only. It does not select a hydrogen-production pathway, establish a lifecycle boundary, predict direct process/furnace/compressor/electricity/steam emissions, model capture, calculate reaction heat or equipment duty, predict kinetics, catalyst behavior or phase equilibrium, perform optimization, demonstrate regulatory compliance, or establish a verified product carbon footprint. Human conversion-model and independent-maintainer review remain required.
Exact base:
30a6cbafda1780ca3f9ef9e18ab9b8f4eafd670dInitial publication head:
8dc6a0a0c2b0c148ffbae9008105d58aec293bf1Repaired exact head:
33594b0ba73720be2bc684691b9712427ea481f4Capability contract: #3305 (comment)
Open autonomous occupancy after this external merge is 3, below the target of 20 and absolute ceiling of 24.
Refs #3305
Hosted formatting repair
The initial exact head failed pre-commit only because Spotless required deterministic reflow of the two new Java files. Hosted artifact
10635149008was verified at SHA-256ab91a9a6652ac9e3482e5519a86efa2e2450af21414f3392845c034661fe8e73and applied byte-for-byte.The formatted production blob is
b69f2c1928947348fbd6f37b8f1a8c38af49eb0d; the formatted test blob is08aed7288828ed7f6e219186e540daccaaed6c8e. No equation, assertion, documentation, provenance, frozen scope, or stop boundary changed. The single automatic repair allowance is consumed.Repaired-head validation checkpoint
At exact head
33594b0ba73720be2bc684691b9712427ea481f4:EXACT-HEAD CI QUALIFIED — HUMAN ENGINEERING REVIEW REQUIRED.
Exact-head qualification — 2026-09-21
Exact repaired head:
33594b0ba73720be2bc684691b9712427ea481f4.masteris6746e5f185c69c995de3532040222f046dc552da; its five intervening commits are path-disjoint, so no synchronization was performed.EXACT-HEAD CI QUALIFIED — HUMAN CONVERSION-MODEL AND INDEPENDENT-MAINTAINER REVIEW REQUIRED.
External merge audit — 2026-09-21
33594b0ba73720be2bc684691b9712427ea481f4f0c7436c6923766b1e22957b7075f650600457a7MERGED EXTERNALLY — EXACT-HEAD CI AND FIVE-PATH MERGE-COMMIT VERIFICATION COMPLETE.