equinor / neqsim

NeqSim is a library for calculation of fluid behavior, phase equilibrium and process simulation

Home Page:https://equinor.github.io/neqsimhome/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUG: Calculations continues with bad input

soofstad opened this issue · comments

Describe the bug
Fatal errors are just logged, and then ignored. As in; the calculation continues.

To Reproduce
One example is to create a fluid with a component that does not exist in the fluidDatabase.
Neqsim will then log ERROR: Component X does not exists, without raising an exception.

Expected behavior
I, as a user of the neqsim library, would expect bad input to raise an exception, so that I avoid getting potentially bad results without knowing.

Thanks. I will have a look at it together with @Sviatose