function  plot_decision_tree(u,t)
figure()
plot(u.S1.WD)
hold on
plot(u.S2.WD)
hold on
plot(u.S3.WD)
hold on
plot(u.S4.WD)
hold on
plot(u.S5.WD)
hold on
plot(u.S6.WD)
hold on
plot(u.S7.WD)
hold on
plot(u.S8.WD)
hold on
plot(u.S9.WD)
axis([1 t 0 300])
xlabel('Time period, $t$')
legend('$Q_{WD,S1}$','$Q_{WD,S2}$','$Q_{WD,S3}$','$Q_{WD,S4}$','$Q_{WD,S5}$','$Q_{WD,S6}$','$Q_{WD,S7}$','$Q_{WD,S8}$','$Q_{WD,S9}$');
ylabel('Energy [MWh]')

figure()
plot(u.S1.GD)
hold on
plot(u.S2.GD)
hold on
plot(u.S3.GD)
hold on
plot(u.S4.GD)
hold on
plot(u.S5.GD)
hold on
plot(u.S6.GD)
hold on
plot(u.S7.GD)
hold on
plot(u.S8.GD)
hold on
plot(u.S9.GD)
axis([1 t 0 300])
xlabel('Time period, $t$')
legend('$Q_{GD,S1}$','$Q_{GD,S2}$','$Q_{GD,S3}$','$Q_{GD,S4}$','$Q_{GD,S5}$','$Q_{GD,S6}$','$Q_{GD,S7}$','$Q_{GD,S8}$','$Q_{GD,S9}$');
ylabel('Energy [MWh]')

figure()
plot(u.S1.SD)
hold on
plot(u.S2.SD)
hold on
plot(u.S3.SD)
hold on
plot(u.S4.SD)
hold on
plot(u.S5.SD)
hold on
plot(u.S6.SD)
hold on
plot(u.S7.SD)
hold on
plot(u.S8.SD)
hold on
plot(u.S9.SD)
axis([1 t 0 300])
xlabel('Time period, $t$')
legend('$Q_{SD,S1}$','$Q_{SD,S2}$','$Q_{SD,S3}$','$Q_{SD,S4}$','$Q_{SD,S5}$','$Q_{SD,S6}$','$Q_{SD,S7}$','$Q_{SD,S8}$','$Q_{SD,S9}$');
ylabel('Energy [MWh]')

figure()
plot(u.S1.WS)
hold on
plot(u.S2.WS)
hold on
plot(u.S3.WS)
hold on
plot(u.S4.WS)
hold on
plot(u.S5.WS)
hold on
plot(u.S6.WS)
hold on
plot(u.S7.WS)
hold on
plot(u.S8.WS)
hold on
plot(u.S9.WS)
axis([1 t 0 300])
xlabel('Time period, $t$')
legend('$Q_{WS,S1}$','$Q_{WS,S2}$','$Q_{WS,S3}$','$Q_{WS,S4}$','$Q_{WS,S5}$','$Q_{WS,S6}$','$Q_{WS,S7}$','$Q_{WS,S8}$','$Q_{WS,S9}$');
ylabel('Energy [MWh]')


figure()
plot(u.S1.GS)
hold on
plot(u.S2.GS)
hold on
plot(u.S3.GS)
hold on
plot(u.S4.GS)
hold on
plot(u.S5.GS)
hold on
plot(u.S6.GS)
hold on
plot(u.S7.GS)
hold on
plot(u.S8.GS)
hold on
plot(u.S9.GS)
axis([1 t 0 300])
xlabel('Time period, $t$')
legend('$Q_{GS,S1}$','$Q_{GS,S2}$','$Q_{GS,S3}$','$Q_{GS,S4}$','$Q_{GS,S5}$','$Q_{GS,S6}$','$Q_{GS,S7}$','$Q_{GS,S8}$','$Q_{GS,S9}$');
ylabel('Energy [MWh]')

figure()
plot(u.S1.R)
hold on
plot(u.S2.R)
hold on
plot(u.S3.R)
hold on
plot(u.S4.R)
hold on
plot(u.S5.R)
hold on
plot(u.S6.R)
hold on
plot(u.S7.R)
hold on
plot(u.S8.R)
hold on
plot(u.S9.R)
axis([1 t 0 2000])
xlabel('Time period, $t$')
legend('$Q_{R,S1}$','$Q_{R,S2}$','$Q_{R,S3}$','$Q_{R,S4}$','$Q_{R,S5}$','$Q_{R,S6}$','$Q_{R,S7}$','$Q_{R,S8}$','$Q_{R,S9}$');
ylabel('Energy [MWh]')




end

