function jouleThomsonCoefficient input ThermodynamicState state; output Real J; end jouleThomsonCoefficient;