Skip to content

Bubble and dew points with one or more components in the mixture at 0 composition #332

Description

@prehner

Due to numerical issues in the evaluation of the ideal gas contribution, bubble and dew point iterations currently fail if one of the mixture components has 0 composition. See #331 and #254

Re-initializing the eos without the zero component can be a solution, but might be inconvenient in some cases. For most situations in which this problem occurs, increasing the composition to a small positive value (e.g., 1e-20) can solve the issue without meaningful loss in accuracy.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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