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