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
R134a Medium #1394
Comments
Modified by dietmarw on 20 Jun 2014 10:57 UTC |
Modified by wischhusen on 20 Jun 2014 11:12 UTC |
Comment by hubertus on 20 Jun 2014 16:12 UTC |
Comment by wischhusen on 23 Jun 2014 16:15 UTC The reason, why _pTX functions are used in Modelica.Fluid is certainly the simpler parameterization of the initialization and boundary conditions. Anyhow, the functions of R134a are just intended for p,h states to allow a proper solution in any domain. Models that use R134a should avoid _pTX functions. If the Modelica.Fluid pipe does not, it cannot be used with R134a or has to be changed to allow an initialization with _phX. |
Comment by hubertus on 23 Jun 2014 19:03 UTC |
Comment by wischhusen on 24 Jun 2014 07:29 UTC Yes, that's why we implemented _pTX functions with an error message to explain the failure potential. The media model is just declared to be valid with p,h as states. |
Comment by hubertus on 7 Dec 2015 13:56 UTC |
Comment by wischhusen on 8 Dec 2015 15:19 UTC |
Comment by hubertus on 8 Dec 2015 15:35 UTC |
Comment by wischhusen on 14 Dec 2015 09:11 UTC |
Comment by wischhusen on 21 Dec 2015 14:23 UTC |
Changelog modified by wischhusen on 21 Dec 2015 14:23 UTC |
Reported by nicolas.albarello on 15 Jan 2014 15:36 UTC
The R134 medium works in the provided examples (using volume and short pipe) but fails when using it in other fluid components (e.g. DynamicPipe). The reason for that is the use of pTX functions with a two-phase fluid.
Could you provide a fixing procedure for this ?
Thanks,
Migrated-From: https://trac.modelica.org/Modelica/ticket/1394
The text was updated successfully, but these errors were encountered: