A dynamic model of pulmonary mechanics to simulate a panting maneuver