Tidal volume by respiratory inductance plethysmography , pleural pressure estimated by oesophageal pressure , and gas exchange were evaluated at each setting and used to compute breathing pattern parameters , lung mechanics and work of breathing ( WOB ) .