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
HS_INPUTS in tabular interpolation #2318
Comments
Because H,S, are always the most complicated inputs to handle. Neither
input is an independent variable of the EOS and as a consequence, you need
to iterate. That is even true in the case of the tabular interpolation.
Someone could add the iteration, but it won't be me. Pull requests welcome.
|
Hi Ian and thanks for your reply. |
Maybe @msaitta-mpr ? |
Is your idea to make a new h/s table, or perform a 1D solver on the existing p/h table? |
I don't really know how the tables are originally created, but I'd say that if the table is generated through p and h, a double interpolation should be enough to get a value from a given h and s. Am I incorrect? |
It should be possible to simply iterate on s, but there will be a reduction in speed. Often the reason that people use the tables is for the increased property lookup speed. I wasn't sure what you had in mind. I can take a look into implementing an h/s input pair routine that uses such a routine. |
That's true, but I don't expect it to be slower than calling the EOS with h and s as inputs. |
Hello! Thank you :) |
I have been playing around with the new code. However, I am still working to implement a solver for the saturation curves. Currently, they are tabulated by P/T, so a solver needs to be implemented to determine which phase (or two-phase) the state point is in. There are similar methods in the HEOS module, but I will need some more time to move one of them over and make it compatible. |
Excellent! Thank you for your time and dedication and for considering this request. Let me know if I can be of help in any way or if there is any news! Cheers |
Hi everybody!
Do you know why the enthalpy-entropy pair of input is not supported for the tabular backend?
It one of the most common pair for many problems, thanks to the total enthalpy conservation, but unfortunately it seems to be unavailable. Do you think it could be soon implemented?
Thank you for your work
The text was updated successfully, but these errors were encountered: