Skip to content

VT flash: water + a tiny amount of hydrogen? #377

@B-LIE

Description

@B-LIE

I am puzzled by the following... assume a tank with pure water and the following data:

using Clapeyron
#
# content of a cathode separation tank
n_H2O_c = 0.648e4
V_c = 0.35

# models
mod_pr = PR(["water"])
mod_grg = GERG2008(["water"])
mod_phsft = pharmaPCSAFT(["water"])
mod_mf = MultiFluid(["water"])

# temperature
T = 70 + 273.15

If I do VT flash, I get:

julia> vt_flash(mod_pr,V_c,T,[n_H2O_c])
Flash result at T = 343.15, p = 28583.8 with 2 phases:
 (x = [1.0], β = 6477.92, v = 2.2099e-5)
 (x = [1.0], β = 2.07864, v = 0.0995097)

julia> vt_flash(mod_grg,V_c,T,[n_H2O_c])
Flash result at T = 343.15, p = 31207.5 with 2 phases:
 (x = [1.0], β = 6477.46, v = 1.84249e-5)
 (x = [1.0], β = 2.54407, v = 0.0906631)

and similar for the two other models. Fine, no problem.

Then I try to add a relatively small amount of hydrogen:

n_H2_c = 251
mod_pr = PR(["water", "hydrogen"])
mod_grg = GERG2008(["water", "hydrogen"])
mod_phsft = pharmaPCSAFT(["water", "hydrogen"])
mod_mf = MultiFluid(["water", "hydrogen"])

With this addition, there appears to be only a single phase only for most models, unless I reduce the H2 amount. With the PR model:

julia> vt_flash(mod_pr,V_c,T,[n_H2O_c, n_H2_c])
Flash result at T = 343.15, p = 2.7025e6 with 1 phase:
 (x = [0.96271, 0.0372902], β = 6731.0, v = 2.22071e-5)

julia> vt_flash(mod_pr,V_c,T,[n_H2O_c, 0.1n_H2_c])
Flash result at T = 343.15, p = 2.53105e6 with 1 phase:
 (x = [0.996141, 0.00385851], β = 6505.1, v = 2.20996e-5)

julia> vt_flash(mod_pr,V_c,T,[n_H2O_c, 0.01n_H2_c])
Flash result at T = 343.15, p = -2.0756e8 with 2 phases:
 (x = [0.999997, 3.12906e-6], β = 8.49378e-10, v = 2.33729e-5)
 (x = [0.999746, 0.000253753], β = 6482.51, v = 3.87907e-5)

julia> vt_flash(mod_pr,V_c,T,[n_H2O_c, 0.001n_H2_c])
Flash result at T = 343.15, p = 2.53067e6 with 2 phases:
 (x = [0.999961, 3.87331e-5], β = 6480.25, v = 2.20887e-5)
 (x = [0.908839, 0.0911615], β = 2.87781e-13, v = 2.24414e-5)

I'm puzzled. Adding relatively little H2 seems to (a) change the system from 2 phase water to 1 phase (gas) H2O+H2 (and the pressure goes up from ca. 0.29 bar for pure water, to 27 bar for the mixture) . If I (b) add only 10% of the H2 (10% refers to n_H2_c), still 1 phase but lower pressure (which makes sense). (c) Adding only 1% H2 gives a negative pressure and two phases -- doesn't really make sense?? (d) Adding still less, 0.1% H", gives a positive pressure and two phases.

Essentially, I'm puzzled by how little H2 I can add and still have 2 phases, + that I get a negative pressure in one case.


If I use the other models...

julia> vt_flash(mod_grg,V_c,T,[n_H2O_c,n_H2_c])
Flash result at T = 343.15, p = NaN with 1 phase:
 (x = [0.96271, 0.0372902], β = 6731.0, v = NaN)

with similar result for all 4 cases of added H2. The MultiFluid model behaves similar to the GERG2008.

julia> vt_flash(mod_phsft,V_c,T,[n_H2O_c, n_H2_c])
Flash result at T = 343.15, p = NaN with 1 phase:
 (x = [0.96271, 0.0372902], β = 6731.0, v = NaN)

julia> vt_flash(mod_phsft,V_c,T,[n_H2O_c, 0.1n_H2_c])
Flash result at T = 343.15, p = NaN with 1 phase:
 (x = [0.996141, 0.00385851], β = 6505.1, v = NaN)

julia> vt_flash(mod_phsft,V_c,T,[n_H2O_c, 0.01n_H2_c])
Flash result at T = 343.15, p = -2.28029e8 with 2 phases:
 (x = [0.999998, 1.56926e-6], β = 1.49156e-9, v = 1.93223e-5)
 (x = [0.99983, 0.000169777], β = 6482.51, v = 3.1487e-5)

julia> vt_flash(mod_phsft,V_c,T,[n_H2O_c, 0.001n_H2_c])
Flash result at T = 343.15, p = 2.32886e6 with 2 phases:
 (x = [0.999961, 3.87331e-5], β = 6480.25, v = 1.84188e-5)
 (x = [0.813639, 0.186361], β = 2.87781e-13, v = 1.96121e-5)

So the PharmaSAFT model gives sort of similar results as the PR (i.e., in the sense of 1 phase vs. 2 phase, but does not compute the pressure nor the molar volume in the one phase case -- which PR does).


Questions:

  1. Does my results make sense? At the outset, I tried to compute how much H2O and H2 I could have in the tank and still have ca. 30 bar pressure and ca. 30% liquid in the tank. Perhaps I should do PT flash to find that?
  2. What does the negative pressure mean (PR, PharmaSAFT, some cases of H2 content).
  3. What does it mean that some models can not compute pressure or molar (gas) volume?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions