We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import CoolProp as CP HEOS = CP.AbstractState("HEOS", "Water") HEOS.update(CP.HmassP_INPUTS , 1100e3, 3e6) print(HEOS.Q()) print(HEOS.first_two_phase_deriv(CP.iDmass, CP.iP, CP.iHmass)) print(HEOS.first_two_phase_deriv_splined(CP.iDmass, CP.iP, CP.iHmass,0.03))
0.05106694516062975 0.00019860467815446722 -0.003595560998983705
I guess the derivative splined output may not valid beyond the x_end range and thus can be -1 to avoid confusion.
The text was updated successfully, but these errors were encountered:
Would be better to either a) error b) fall back to first_two_phase_deriv
I'm leaning towards a)
On Tue, Apr 21, 2015 at 9:17 AM, Paul D notifications@github.com wrote:
import CoolProp as CP HEOS = CP.AbstractState("HEOS", "Water") HEOS.update(CP.HmassP_INPUTS , 1100e3, 3e6)print(HEOS.Q())print(HEOS.first_two_phase_deriv(CP.iDmass, CP.iP, CP.iHmass))print(HEOS.first_two_phase_deriv_splined(CP.iDmass, CP.iP, CP.iHmass,0.03)) 0.05106694516062975 0.00019860467815446722 -0.003595560998983705 I guess the derivative splined output may not valid beyond the x_end range and thus can be -1 to avoid confusion. — Reply to this email directly or view it on GitHub #611.
import CoolProp as CP HEOS = CP.AbstractState("HEOS", "Water")
HEOS.update(CP.HmassP_INPUTS , 1100e3, 3e6)print(HEOS.Q())print(HEOS.first_two_phase_deriv(CP.iDmass, CP.iP, CP.iHmass))print(HEOS.first_two_phase_deriv_splined(CP.iDmass, CP.iP, CP.iHmass,0.03))
— Reply to this email directly or view it on GitHub #611.
Sorry, something went wrong.
4697b33
No branches or pull requests
I guess the derivative splined output may not valid beyond the x_end range and thus can be -1 to avoid confusion.
The text was updated successfully, but these errors were encountered: