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
When setting mole fractions, the molar mass doesn't get reset:
import CoolProp.CoolProp as CP, numpy as np AS = CP.AbstractState('HEOS','Propane&H2S') for z0 in np.linspace(0.1, 0.9, 7): AS.set_mole_fractions([z0, 1-z0]) print(z0, AS.molar_mass())
yields
0.1 0.035082354 0.23333333333333334 0.035082354 0.3666666666666667 0.035082354 0.5 0.035082354 0.6333333333333333 0.035082354 0.7666666666666666 0.035082354 0.9 0.035082354
The text was updated successfully, but these errors were encountered:
590cc7c
Also return a value; see #1815
c4a1cc3
Fix resetting of mole mass; closes CoolProp#1815
0583fa1
Also return a value; see CoolProp#1815
ac4dd07
No branches or pull requests
When setting mole fractions, the molar mass doesn't get reset:
yields
The text was updated successfully, but these errors were encountered: