Introduction In patients assisted by mechanical ventilation, the Work Of Breathing (WOB) is shared between the patient and the ventilator. During weaning from mechanical ventilation, the WOB performed by the patient must be adequate and efficient to sustain spontaneous ventilation after extubation. The monitoring of WOB during weaning might allow a better management of the weaning process. Esophageal pressure (PES) is the reference technique to measure WOB but alternate tools have been proposed. The main hypothesis is that Indirect Calorimetry (IC) is valid to track the changes in energy expenditure due to the changes in WOB in mechanically ventilated children during weaning from mechanical ventilation. The primary objective of this study is to assess the validity of IC method for the WOB assessment when compared to PES measurement and Electrical Activity of the diaphragm (EAdi) during a spontaneous breathing trial (SBT) in continuous positive airway pressure, which is a routine extubation readiness test which generally induces an increase in WOB.