A ventilator apparatus comprising a ventilator with at least one actuator, further comprising; at least one computing system connected to said at least one actuator of the ventilator; at least one transducer (35, 36) configured to provide input signals from a patient to said computing system including at least one minute volume (Mv); wherein at least one processor of the computing system is configured to execute a program stored in a memory of the computing system, said program being configured to compute a respiration frequency (f) based on a previously defined lung model, depending on said minute volume (Mv), at least one stored functional dead space (Vd), at least one stored time constant (R ∗ C) and at least one stored duration ratio factor (D1, D2), said computed respiration frequency (f) being optimized on at least one minimum of a delivered parameter ( G_tot), and the program being further configured to estimate an inspiratory time (Ti) and an expiratory time (Te) based on said computed respiration frequency (f) and said at least one duration ratio factor (D1, D2), and to compute at least one tidal volume (Vt) based on said computed respiration frequency (f) and said determined minute volume (Mv); and a closed loop controller connected to said computing system, the closed loop controller configured to provide output data representing a delivered respiratory parameter of the ventilator, including at least one of a respiratory pressure (Rp), a respiratory volume (Rv) and a respiratory flow (Rf), based on said computed respiration frequency (f), said determined inspiratory time (Ti), said determined expiratory time (Te) and said computed tidal volume (Vt), and the first duration ratio factor is computed with said computing system by: D 1 = I: E 1 + I: E; where I:E is the inspiration-to-expiration ratio and said first duration ratio factor is used for computing of the respiration frequency (f), or wherein said first duration ratio factor is set to a value between 0.5 and 0.2 and is used for computing of the respiration frequency (f). at least one computing system connected to said at least one actuator of the ventilator; at least one transducer (35, 36) configured to provide input signals from a patient to said computing system including at least one minute volume (Mv); wherein at least one processor of the computing system is configured to execute a program stored in a memory of the computing system, said program being configured to compute a respiration frequency (f) based on a previously defined lung model, depending on said minute volume (Mv), at least one stored functional dead space (Vd), at least one stored time constant (R ∗ C) and at least one stored duration ratio factor (D1, D2), said computed respiration frequency (f) being optimized on at least one minimum of a delivered parameter ( G_tot), and the program being further configured to estimate an inspiratory time (Ti) and an expiratory time (Te) based on said computed respiration frequency (f) and said at least one duration ratio factor (D1, D2), and to compute at least one tidal volume (Vt) based on said computed respiration frequency (f) and said determined minute volume (Mv); and a closed loop controller connected to said computing system, the closed loop controller configured to provide output data representing a delivered respiratory parameter of the ventilator, including at least one of a respiratory pressure (Rp), a respiratory volume (Rv) and a respiratory flow (Rf), based on said computed respiration frequency (f), said determined inspiratory time (Ti), said determined expiratory time (Te) and said computed tidal volume (Vt), and the first duration ratio factor is computed with said computing system by: D 1 = I: E 1 + I: E; where I:E is the inspiration-to-expiration ratio and said first duration ratio factor is used for computing of the respiration frequency (f), or wherein said first duration ratio factor is set to a value between 0.5 and 0.2 and is used for computing of the respiration frequency (f).