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

🐛 SingularMatrixException during flash calculations #842

Closed
Sviatose opened this issue Nov 10, 2023 · 0 comments · Fixed by #843
Closed

🐛 SingularMatrixException during flash calculations #842

Sviatose opened this issue Nov 10, 2023 · 0 comments · Fixed by #843
Labels
bug Something isn't working

Comments

@Sviatose
Copy link
Collaborator

Describe the bug
The flash calculations in the test at /workspaces/neqsim/src/test/java/neqsim/thermodynamicOperations/flashOps/GudrunDegasser.java encounter an error with specific input flash parameters (5.9061164855957 bara and 79.8487854003906 C). The issue occurs during the flash calculations. The flash calc is between lines 100-160 of the code.

To Reproduce
Steps to reproduce the behavior:

  1. Go to /workspaces/neqsim/src/test/java/neqsim/thermodynamicOperations/flashOps/GudrunDegasser.java
  2. Start test

Expected behavior
The gas flow rate should be around 0.02 kg/hr. No exception.

Additional context
If pressure or temperature slightly changed the problem disappears. That is shown in the test

@Sviatose Sviatose added the bug Something isn't working label Nov 10, 2023
@Sviatose Sviatose changed the title 🐛 SingularMatrixException during flash calculations, resulting in a solution containing uncountable numbers. 🐛 SingularMatrixException during flash calculations Nov 10, 2023
@EvenSol EvenSol linked a pull request Nov 10, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant