Development of closed-loop modelling framework for adaptive respiratory pacemakers. (February 2022)