Skip to content

update gerg2008 with h2 paramters#1785

Merged
EvenSol merged 1 commit intomasterfrom
gerg2008updateh2
Dec 20, 2025
Merged

update gerg2008 with h2 paramters#1785
EvenSol merged 1 commit intomasterfrom
gerg2008updateh2

Conversation

@EvenSol
Copy link
Copy Markdown
Collaborator

@EvenSol EvenSol commented Dec 20, 2025

Add GERG-2008-H2 Model with Improved Hydrogen Parameters

Summary

Implements the GERG-2008-H2 equation of state extension with improved hydrogen binary interaction parameters based on Beckmüller et al. (2022).

Changes

  • New GERG2008H2 class - Extends GERG2008 with updated hydrogen parameters for CH₄-H₂, N₂-H₂, CO₂-H₂, and other binaries
  • New GERG2008Type enum - STANDARD and HYDROGEN_ENHANCED model selection
  • Updated SystemGERG2008Eos - Added useHydrogenEnhancedModel() and setGergModelType() methods
  • Updated NeqSimGERG2008 - Constructor accepts model type parameter
  • Documentation - Added GERG-2008-H2 section to docs/thermo/gerg2008_eoscg.md

Usage

SystemGERG2008Eos fluid = new SystemGERG2008Eos(300.0, 50.0);
fluid.addComponent("methane", 0.7);
fluid.addComponent("hydrogen", 0.3);
fluid.useHydrogenEnhancedModel();  // Enable GERG-2008-H2

Key Differences from GERG-2008

Binary Density Difference
CO₂-H₂ ~1.2%
C₂H₆-H₂ ~0.8%
CH₄-H₂ ~0.1-0.25%
N₂-H₂ ~0.05-0.5%

Reference

Beckmüller, R. et al. (2022). "Extension of the equation of state for natural gases GERG-2008 with improved hydrogen parameters". Fluid Phase Equilibria, 557, 113411.

@EvenSol EvenSol merged commit de1643b into master Dec 20, 2025
12 checks passed
@EvenSol EvenSol deleted the gerg2008updateh2 branch December 20, 2025 14:19
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