Method and apparatus foe controlling at least one ventilation parameter of an artificial ventilator for ventilating the lungs of a patient in accordance with a plurality of lung positions