7. Discussion and conclusion
7.1. Optimization problem Two approaches for the respiratory control system modeling based on simultaneous optimization of ventilation and breathing pattern, which were called in this study RSM1 and RSM2, have been analyzed [9]. Such optimization was performed by minimizing a respiratory cost function (J) that reflects the balance of chemical (Jc) and mechanical (Jm) costs of breathing. Differences between both approaches were determined by the equations proposed to quantify Jm during inspiratory and expiratoryphases (Eqs.(4a),(5a), (4b) and (5b) respectively), which in turn represent estimates ofthe mechanical work of breathing (WOB). Although in this model, two equation sets were proposed to quantify the mechanical cost, RSM2 was discarded in [9] because it always led to an impulsive inspiratory pressure profile with an extremely small inspiratory duty cycle; this behavior had been also noted by other researchers [83,75]. However, in this study with the used optimization techniques was possible to adjust the model parameters in order to obtain a response with a realistic behavior (see Figs. 3 and 10). The fitting of model parameters involved two nested optimizations: the optimization of breathing pattern by fitting x = [t1, t2, a1, a2, ] and the adjustment of model responses to experimental data by fitting = [1, 2, n]. The former was performed breath to breath by minimizing J, whereas the latter was performed by minimizing PE in all populations.