Air tank filling and emptying

Time for an isothermal model with an explicitly assumed constant net mass flow.