Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

characterization of plus fraction fails when mole fraction of a component is 0 #551

Open
EvenSol opened this issue Oct 17, 2022 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@EvenSol
Copy link
Collaborator

EvenSol commented Oct 17, 2022

Describe the bug
characterization of plus fraction fails when mole fraction of a component is 0

Eg. if molefraction of a component in a fluid is 0 - the command

fluid.getCharacterization().characterisePlusFraction()

throws and exception.

To Reproduce
fluid.getCharacterization().characterisePlusFraction()
throws and exception.

Expected behavior
PlusCharacterization should work even if a component has 0 mole fraction

Screenshots

@EvenSol EvenSol self-assigned this Oct 17, 2022
@EvenSol EvenSol added the bug Something isn't working label Oct 17, 2022
@EvenSol EvenSol added this to the v.3.0.0 milestone Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant