You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Request for enhancement to add general inverse property lookup capabilities to Pyromat, enabling users to calculate properties like temperature or pressure based on other properties (e.g., entropy and quality). This feature would streamline calculations involving complex thermodynamic cycles by directly solving for states without iterative methods.
Benefits:
Facilitates direct solution of thermodynamic states in cycles.
Reduces reliance on external numerical methods for common calculations.
Broadens the utility of Pyromat for engineering and scientific applications.
Implementation could involve creating a generalized framework for inverse lookups that can be extended to various properties and substances. This addition would significantly enhance Pyromat's functionality and its applicability in thermodynamic analyses.
Thank you for considering this suggestion.
The text was updated successfully, but these errors were encountered:
It took me a very long time to get to your request. Thank you for your patience, and thanks for your question!
I get this request a fair bit, so it deserves a good discussion. As of version 2.2.4, there is already quite a bit of flexibility in how states are defined, but it's true that some combinations are not supported. As of v2.2.4, here's what's allowed so far in the mp1 class:
There are some combinations that are excluded for very good reasons. For example, the plot below shows enthalpy of steam as a function of temperature for x = [0.00,0.25,0.5,0.75,1.00]. In general, it is actually not theoretically correct to write T(h,x) because there are multiple temperatures that can give the same enthalpy and quality.
There are some more subtle issues as well. It is theoretically acceptable to specify enthalpy and temperature as a pair, but it is can be a numerical catastrophe because enthalpy is only a very weak function of density in the vapor phase.
Really there are only two kinds of valid combinations that are not currently supported:
Pairs of non-basic properties (h,s or e,s)
Properties not currently directly supported (like Gibbs energy of speed of sound)
Both are absolutely "on the list" of things to do in the future.
Description:
Request for enhancement to add general inverse property lookup capabilities to Pyromat, enabling users to calculate properties like temperature or pressure based on other properties (e.g., entropy and quality). This feature would streamline calculations involving complex thermodynamic cycles by directly solving for states without iterative methods.
Benefits:
Implementation could involve creating a generalized framework for inverse lookups that can be extended to various properties and substances. This addition would significantly enhance Pyromat's functionality and its applicability in thermodynamic analyses.
Thank you for considering this suggestion.
The text was updated successfully, but these errors were encountered: