This function returns the thermodynamic state based on pressure, specific entropy and mass fraction.
The state is computed by symbolically solving BuildingSystems.Media.Specialized.Water.TemperatureDependentDensity.specificEntropy for temperature.