Skip to content
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

Phase envelopes should be able to be constructed for pure fluids too #575

Closed
ibell opened this issue Apr 4, 2015 · 2 comments
Closed

Phase envelopes should be able to be constructed for pure fluids too #575

ibell opened this issue Apr 4, 2015 · 2 comments
Milestone

Comments

@ibell
Copy link
Contributor

ibell commented Apr 4, 2015

No description provided.

@ibell ibell added this to the v 5.1 milestone Apr 4, 2015
@ibell
Copy link
Contributor Author

ibell commented Apr 4, 2015

Should just yield "phase envelope tracing" over the critical point for pure and pseudo-pure fluids

@ibell
Copy link
Contributor Author

ibell commented Apr 10, 2015

import matplotlib.pyplot as plt
import CoolProp, numpy as np

for fluid in ['R245fa','Air','R407C']:
    HEOS = CoolProp.AbstractState("HEOS", fluid)
    HEOS.build_phase_envelope("")
    PED = HEOS.get_phase_envelope_data()
    plt.plot(PED.T, np.log(PED.p))
    plt.show()

@ibell ibell closed this as completed in ed2aff7 Apr 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant