-
Notifications
You must be signed in to change notification settings - Fork 164
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
Erroneous two-phase calculation of function setState_psX for R134a medium #3320
Milestone
Comments
beutlich
added
bug
Critical/severe issue
L: Media
Issue addresses Modelica.Media
labels
Jan 14, 2020
I marked the incorrect values by 🔺 in the above table for better visualibility. |
Resolved as far as I can see. Outputs for d and T were missing in setState_psX in two-phase mode. |
What do you mean by "Resolved"? Do you have a patch for it? |
Yes I pushed into my fork |
beutlich
added a commit
to beutlich/ModelicaStandardLibrary
that referenced
this issue
Feb 5, 2020
Additionally, add the phase calculation for the thermodynamic state
beutlich
added a commit
that referenced
this issue
Feb 7, 2020
beutlich
added a commit
to beutlich/ModelicaStandardLibrary
that referenced
this issue
Feb 7, 2020
beutlich
added a commit
that referenced
this issue
Feb 11, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am afraid the issue reported in #3163 for Modelica.Media.R134a.R134a_ph.setState_dTX (which was fixed in #3275) also is apparent with Modelica.Media.R134a.R134a_ph.setState_psX in two-phase region.
Check the setState_psX table generated by T3320.mo:
setState_phX() (ref props in parentheses)
(374.21)
(4.05911e+06)
(511.9)
(389639)
(169.85)
(389.563)
(1591.11)
(71455.2)
(298.15)
(3e+06)
(1220.13)
(234687)
(305.987)
(3e+06)
(1190.76)
(245776)
(273.15)
(292803)
(1294.78)
(200000)
(298.15)
(665380)
(969.916)
(235741)
setState_dTX() (ref props in parentheses)
(374.21)
(4.05911e+06)
(511.9)
(389639)
(169.85)
(389.563)
(1591.11)
(71455.2)
(298.15)
(3e+06)
(1220.13)
(234687)
(305.987)
(3e+06)
(1190.76)
(245776)
(273.15)
(292803)
(1294.78)
(200000)
(298.15)
(665380)
(969.916)
(235741)
setState_psX() (ref props in parentheses)
(374.21)
(4.05911e+06)
(511.9)
(389639)
(169.85)
(389.563)
(1591.11)
(71455.2)
(298.15)
(3e+06)
(1220.13)
(234687)
(305.987)
(3e+06)
(1190.76)
(245776)
(273.15)
(292803)
(1294.78)
(200000)
(298.15)
(665380)
(969.916)
(235741)
setState_pTX() (ref props in parentheses)
(374.21)
(4.05911e+06)
(511.9)
(389639)
(169.85)
(389.563)
(1591.11)
(71455.2)
(298.15)
(3e+06)
(1220.13)
(234687)
(305.987)
(3e+06)
(1190.76)
(245776)
(273.15)
(292803)
(1294.78)
(200000)
(298.15)
(665380)
(969.916)
(235741)
The text was updated successfully, but these errors were encountered: