A method of an apparatus control pressure in the patient interface. A vent valve may be used with a respiratory device, where the vent valve may selectively block fluid communication between components, such as the flow generator, the patient interface, and/or the vent. An expiratory flow model may be used to determine an expiratory characteristic such as an expiratory flow rate or pressure in the patient interface where an indicative measure may not be available. The expiratory flow model may receive inputs based on a measure of the patients respiration, such as the tidal volume, peak inspiratory flow rate or length of inspiration. The expiratory characteristic may be used by a controller to control a pressure in the patient interface to provide respiratory therapy to a patient at or close to a target pressure.