clear all; clc; %% Load Real experimental test information load Validation_profile.mat; load Characterization_profile.mat; %% Creating necessary vectors SOC_LUT = [10 20 30 40 50 60 70 80 90 100]; R0 = [0.0024 0.0024 0.0024 0.0024 0.0024 0.0024 0.0024 0.0024 0.0024 0.0024]; R1 = [0.0012 0.0012 0.0012 0.0012 0.0012 0.0012 0.0012 0.0012 0.0012 0.0012]; R2 = [0.0073 0.0073 0.0073 0.0073 0.0073 0.0073 0.0073 0.0073 0.0073 0.0073]; C1 = [1.2723e3 1.2723e3 1.2723e3 1.2723e3 1.2723e3 1.2723e3 1.2723e3 1.2723e3 1.2723e3 1.2723e3]; C2 = [3.55e3 3.55e3 3.55e3 3.55e3 3.55e3 3.55e3 3.55e3 3.55e3 3.55e3 3.55e3]; OCV = [2.8609 2.8609 2.8609 2.8609 2.8609 2.8609 2.8609 2.8609 2.8609 2.8609]; %% Initial and nominal capacities Q0 = 7.6; Qnom = 7.6; %% Open the simulink model open('Parameter_ident.slx');