Skip to content

Improve end-pressure UX in cylinders table #195

@pabdakine

Description

@pabdakine

I suspect there's an ideal/real gas mixup when computing the remaining pressure. Using this scenario to reduce round-off effects and changes in the Z-factor:

Fresh water, sea level
Standard 10L bar air cylinder at 232 bar
SAC of 20 L/min
Descent/Ascent rate of 1 m/min
OC dive, Depth: 1m, Time: 1 min (2 min total)

The average depth is 0.5 m, and the calculated usage of 42 L is correct.

The Cylinders | Pressure info indicates a drop of 8 bar (232->224 bar), which I believe is incorrect.

There is 2195 L at 232 bar, which is a ratio of 9.46 L/bar. Removing that 42 L should have dropped the pressure by 4.4 bar. (The difference cannot be explained by a reduced Z-factor, since that would make the pressure drop even smaller. Obviously, this is a small error in this situation, but I worry it may be larger in others with larger Z-factors.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions