-
Notifications
You must be signed in to change notification settings - Fork 306
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 |
Hey everyone, |
CoolProp is an open-source library supported by the community. Someone
needs to go ahead and dig in!
…On Fri, Aug 9, 2024 at 2:19 PM plevisse-naarea ***@***.***> wrote:
Hey everyone,
Have there been updates on this ? I'm developing a cycle code that uses a
lot of H-S routines with the tabular interpolation for speed. I've tried
looking into coding the iteration on s, but I'm not very familiar enough
with what's under the hood to be very productive at it...
—
Reply to this email directly, view it on GitHub
<#2318 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOGC2YISFL3FGWY4KLDAXDZQUB37AVCNFSM6AAAAABMI5RRP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZYGQ4TOMRZHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi,
Two open questions on this :
|
Iteration on P seems like the natural thing to me - it is what I had started working on but never finished. Iteration on T is done because HEOS is given in terms of RT as opposed to PH. Guidelines for contributing are provided at: |
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: