:bug: SingularMatrixException during flash calculations
Sviatose opened this issue · comments
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:
- Go to /workspaces/neqsim/src/test/java/neqsim/thermodynamicOperations/flashOps/GudrunDegasser.java
- 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