Automatically compensates for leaks in the breathing circuit while accurately detecting patient effort to trigger a breath. Because the LC option allows the ventilator to differentiate between flow due to leaks and flow due to patient respiratory effort, it provides dynamic compensation and enhances patient/ventilator synchrony.