Revised PerfectGases to allow simulation with OpenModelica.

This used Sensors.Examples.VolumeFlowRate for testing.