clear;clc;close all

load('ResultsSRC')% load results SRC
load('Results3C_05')% load results 3C
load('ResultsMPC_Ph10')% load results MPC
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
qEPMPC = [0;u_vec(:,4)];
qDMPC = [0;u_vec(:,2)];
tgrid = 0:st:time; % each sampling time
tgrid=tgrid';
tsim=30;
sim('simIntqEP')
intSRC(end)
int3C(end)
intMPC(end)

intDSRC(end)
intD3C(end)
intDMPC(end)
