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

Retrieve properties for component mixtures #34

Closed
dhkblaszyk opened this issue Jan 24, 2021 · 1 comment
Closed

Retrieve properties for component mixtures #34

dhkblaszyk opened this issue Jan 24, 2021 · 1 comment

Comments

@dhkblaszyk
Copy link

Hi,

In issue #33 I have asked about retrieving properties for pure components. I would also need to retrieve properties for arbitrary mixtures of components. Of course, calculating that is relatively trivial in most cases, but I am wondering whether this is possible in thermostream relatively simple, or do I need to create a stream?

@yoelcortes
Copy link
Member

yoelcortes commented Jan 25, 2021

There sure is, please "pip install thermosteam==0.23.10" for some enhancements to the Mixture object.

Mixture object documentation:
https://thermosteam.readthedocs.io/en/latest/mixture/Mixture.html#thermosteam.mixture.Mixture.from_chemicals

For additional examples:
https://thermosteam.readthedocs.io/en/latest/tutorial/Thermo_property_packages.html#Mixture-objects

Note that mixture methods work just like chemical methods but require a mol parameter for calculating mixuture properties.

Thanks!

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

2 participants