The disclosure relates to determining optimized parameters for mechanical ventilation comprising: obtaining data concerning a three-dimensional image of the subjects respiratory system calculating a specific three-dimensional structural model of the subjects lung structure from the image data calculating a specific three-dimensional structural model of the subjects airway structure from the image data calculating a patient-specific three-dimensional structural model of the subjects lobar structure from the lung model modeling the air flow through the airway, using the models of the airway and lobar structure of the subject at defined MV parameters modeling the structural behavior of the airway and the interaction with the flow, using the models of the airway and lobar structure of the subject at defined MV parameters determining the MV parameters which lead to a decrease in airway resistance and hence an increase in lobar mass flow for the same driving pressures according to the model.