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
To calculate the isentropic exponent Medium.isentropicExponent() uses kappa=cp/cv, but since Medium.specificHeatCapacityCp() jumps at saturation, the isentropic exponent kappa should be limited to relative humidity phi < 1 (it took us some time to find the reason for weird compressor results, but in the end, we noticed that they were wrong because the inlet air was set to be saturated (x=x_saturation) and resulted in an isentropic exponent kappa=6, changing the relative humidity phi=0.99 gave correct results with an isentropic exponent kappa≈1.4.
Therefore i suggest the Medium itself should test, whether the assumptions made are correct, because saturation at inlet/outlet might occur and one might not always be aware, that this would cause completely wrong results using Medium.isentropicExponent().
Unfortunatly also Medium.specificEntropy(state) is (according to its documentation) only valid for relative humidity phi < 1, and should probably also be limited. Although i expect Medium.specificEntropy() might not be as sensitive as Medium.isentropicExponent() when humidity x >= x_saturation.
Probably extending Medium.specificEntropy(state) to take liquid/solid water into account might be more complex, therefor i suggest first to limit its usage according to its assumptions.
The text was updated successfully, but these errors were encountered:
RaphaelGebhart
changed the title
Limit `ThermofluidStream.Media.myMedia.Air.MoistAir' isentropic exponent kappa and entropy to relative humidity phi<1
Limit ThermofluidStream.Media.myMedia.Air.MoistAir isentropic exponent kappa and entropy to relative humidity phi<1
Mar 8, 2024
To calculate the isentropic exponent
Medium.isentropicExponent()
useskappa=cp/cv
, but sinceMedium.specificHeatCapacityCp()
jumps at saturation, the isentropic exponentkappa
should be limited to relative humidityphi < 1
(it took us some time to find the reason for weird compressor results, but in the end, we noticed that they were wrong because the inlet air was set to be saturated (x=x_saturation
) and resulted in an isentropic exponentkappa=6
, changing the relative humidityphi=0.99
gave correct results with an isentropic exponentkappa≈1.4
.Therefore i suggest the Medium itself should test, whether the assumptions made are correct, because saturation at inlet/outlet might occur and one might not always be aware, that this would cause completely wrong results using
Medium.isentropicExponent()
.Unfortunatly also
Medium.specificEntropy(state)
is (according to its documentation) only valid for relative humidityphi < 1
, and should probably also be limited. Although i expectMedium.specificEntropy()
might not be as sensitive asMedium.isentropicExponent()
when humidityx >= x_saturation
.Probably extending
Medium.specificEntropy(state)
to take liquid/solid water into account might be more complex, therefor i suggest first to limit its usage according to its assumptions.The text was updated successfully, but these errors were encountered: