-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRun_Project.m
More file actions
64 lines (47 loc) · 1.39 KB
/
Copy pathRun_Project.m
File metadata and controls
64 lines (47 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
clc
clear
close all
projectRoot = fileparts(mfilename('fullpath'));
addpath(fullfile(projectRoot,'Scripts'));
tic
fprintf('\n');
fprintf('============================================================\n');
fprintf(' SMART EV POWERTRAIN SIMULATOR\n');
fprintf(' Version 1.0\n');
fprintf('============================================================\n');
fprintf('\n');
fprintf('Loading simulation modules...\n');
fprintf('------------------------------------------------------------\n');
fprintf('Battery ');
Battery;
fprintf('Done\n');
fprintf('Motor ');
Motor;
fprintf('Done\n');
fprintf('Transmission ');
Transmission;
fprintf('Done\n');
fprintf('Inverter ');
Inverter;
fprintf('Done\n');
fprintf('Vehicle ');
Vehicle;
fprintf('Done\n');
fprintf('Vehicle Dynamics ');
Vehicle_Dynamics;
fprintf('Done\n');
fprintf('Drive Cycle ');
Drive_Cycle;
fprintf('Done\n');
fprintf('Regenerative Braking ');
Regenerative_Braking;
fprintf('Done\n');
fprintf('Performance Summary ');
Performance_Summary;
fprintf('Done\n');
fprintf('------------------------------------------------------------\n');
ElapsedTime = toc;
fprintf('\n');
fprintf('Simulation completed successfully.\n');
fprintf('Execution Time : %.2f seconds\n',ElapsedTime);
fprintf('============================================================\n');