Not able to reproduce the results from the respective Simulink model attached below.
    2 views (last 30 days)
  
       Show older comments
    
clc
%Vehicle parameters
Mv = 1420; % vehicle curb weight in kg
Cd = 0.3; % drag coeffecient
Af = 2.38; % frontal area in m^2
rho = 1.2; % air density in kg/m^3
g = 9.81; % gravity constant in m/s^2
%Motor parameters
Pm_max = 125; % Max motor power in kW
Tm_max = 250; % Max motor torque in Nm
Pm_regen = 55; % Max regen brake power in kW
eta_m = 0.95; % assumed motor efficiency
eta_inv = 0.97; % assumed inverter efficiency
aux_power = 300; % auxiliary power
%Transmission parameters
ig = 9.7; % gear ratio
r_dyn = 0.3638; % tyre radius in m
eta_t = 0.97; % transmission efficiency
%Battery parameters
V_cell = 3.7; % nominal cell voltage in volts
V_pack = 355.2; % battery pack voltage in volts
C_cell = 60; % cell capacity in Ah
C_pack = 60; % battery pack capacity in Ah
E_pack = 22; % battery pack energy in kWh
R0 = 0.1; % internal resistance of cell in ohms
N = 96; % total number of cells
%Braking Strategy
psi = 0.8; % tyre adhesion coefficient
Xb_max = psi*Mv*g; % Max available braking force
%PI-Controller parameters
Kp = 60; % proportional constant of P-I controller
Ki = 2; % integral constant of P-I controller
- Above is the script used for the simulink model which is built on basis of a reference paper.
 - The model as well as the referene paper is attached.
 - Not able to match the vehicle velocity with the reference drive cycle velocity. Also, not able to get the desired battery pack energy results.
 
Doubts that I think of problems I have would be regarding following subsystems used:
- Driver model
 - Brake controller
 - Vehicle model
 
0 Comments
Answers (1)
  Prasanth B
 on 3 Jun 2022
        
      Edited: Prasanth B
 on 3 Jun 2022
  
      Hi Sameer,   The error is pertaining to the driver controller model. 
Refer Fig 4A in your attachement (case study paper). the driver model should be modified to have delta-V (ref speed - actual speed) and based on delta-V sign, acc command or brake command has to be generated. I see this portion is missing in your model. 
In your existing/ attached model, observe that the actual speed is following ref speed in acceleration phase and it is failing during deceleration phase. Hope this helps.
0 Comments
See Also
Categories
				Find more on Green Vehicles in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!