% Getting initial values

global T0air T0HEX T0el T0incin T0p1 T0p2 T0p3

% Air feed

T0air = T_airfeed(length(t))                                                  ;

% Heat exchanger

T0HEX = [Thot(length(t),:)'; Tcold(length(t),:)'; Twall(length(t),:)'; Thot_out(length(t),:)']   ;

% Electric heater


 T0el = [Tel(length(t))];
    
% Incinerator

T0incin = [Tg(length(t),:)'; Tcat(length(t),:)']                                ;



