Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
ba1abdc
Update the prototype branch.
isaacito12 Feb 13, 2026
1602a9d
Add .gitlab-ci.yml file.
isaacito12 Feb 13, 2026
89f8caf
Make the repo status clean.
isaacito12 Jun 23, 2026
3d0bd9c
Update buildfile.m in the project top folder. Then run all tests and …
isaacito12 Jun 23, 2026
a60bb26
Clean up repo status.
isaacito12 Jul 9, 2026
f3e6075
Clean up repo status.
isaacito12 Jul 9, 2026
bf6faf1
Sync repo and project.
isaacito12 Jul 9, 2026
e5808a3
Add the bev1mus.
isaacito12 Jul 9, 2026
78edb7b
Update repo status
isaacito12 Jul 14, 2026
d1b5ad2
Update Vehicle1D.
isaacito12 Jul 14, 2026
e983a2d
Clean up the repo status.
isaacito12 Jul 15, 2026
4e57178
Introduce the bevutil1.
isaacito12 Jul 15, 2026
b4a48c5
Update BatteryHighVoltage, Reducer, Vehicle1D etc. in the Components.
isaacito12 Jul 20, 2026
89df3c9
Update the Elevation Profile component.
isaacito12 Jul 31, 2026
608c792
Recover files from wrong edits by the tool.
isaacito12 Jul 31, 2026
d9f6d4c
Update the Elevation Profile component. Make all tests pass.
isaacito12 Aug 5, 2026
0fce6c1
Update BEVController and ControllerAndEnvironment components. Make al…
isaacito12 Aug 6, 2026
8bc98e9
Update all components and the BEV system. Remove Markdowns from minor…
isaacito12 Aug 7, 2026
a469945
Update the MUS to use the latest one. Update the Motor Drive Unit com…
isaacito12 Aug 14, 2026
4efe3a4
Wrap up updating the whole project. Make all tests pass.
isaacito12 Aug 17, 2026
0c62390
Update README and ChangeLog files.
isaacito12 Aug 17, 2026
bf9162f
Update GitHub Actions config files for 26a.
isaacito12 Aug 17, 2026
7f46cff
Update README file.
isaacito12 Aug 17, 2026
cd19f63
Clean up the project status.
isaacito12 Aug 17, 2026
bfd2c67
Update tests that fail in CI. Run them only in the local environment.
isaacito12 Aug 17, 2026
c10ea93
Use web instead of open to open the description HTML.
isaacito12 Aug 19, 2026
a28a2d4
Update tests. Make all tests pass.
isaacito12 Aug 19, 2026
fdb956c
Merge changes in upstream
isaacito12 Aug 19, 2026
d17eb36
Remove unnecessary files.
isaacito12 Aug 19, 2026
bdaa7c7
Update the repo status.
isaacito12 Aug 19, 2026
f1c72e8
Update the repo status.
isaacito12 Aug 19, 2026
8b28a24
Update the Elevation Profile component. Make all tests pass.
isaacito12 Aug 20, 2026
6e5ea61
Merge branch 'R2026a-devel' of https://github.com/isaacito12/fork-bev…
isaacito12 Aug 20, 2026
1980398
Update README.
isaacito12 Aug 20, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
739 changes: 546 additions & 193 deletions Components/ElevationProfile/HarnessModel_ElevationProfile.mdl

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ component RoadGradeProfile
% Road Grade Profile
% This block computes road grade percent value at the current horizontal position
% of a vehicle from the road grade profile parameter and the current vehicle speed.
% Input to this block is curvilinear speed Vs, which is a longitudinal speed
% Input to this block is curvilinear speed Vc, which is a longitudinal speed
% parallel to the road surface.
%
% Horizontal speed Vx at x is obtained from Vs via Vx = Vs*cos(theta) where
% Horizontal speed Vh at x is obtained from Vc via Vh = Vc*cos(theta) where
% theta is the road incline angle at x and is computed from road grade gamma by
% theta = atan(gamma).
%
% Elevation z at x is computed from Vs by z = Vs*sin(theta).
% Elevation z at x is computed from Vc by z = Vc*sin(theta).

% Copyright 2026 The MathWorks, Inc.

Expand Down Expand Up @@ -39,13 +39,15 @@ component RoadGradeProfile

inputs
% Curvilinear speed at horizontal position x
Vs = { 0 "m/s" } % Spd
Vc = { 0 "m/s" } % Spd
end
outputs
elevation % E

horizontal_position % X

horizontal_speed % Vh

% Road grade (percent) at horizontal position x
grade_pct_x % PG
end
Expand Down Expand Up @@ -75,8 +77,10 @@ component RoadGradeProfile
end % annotations

equations
der(x) == Vs*cos(incline_angle_x)
der(z) == Vs*sin(incline_angle_x)
horizontal_speed == Vc*cos(incline_angle_x)
der(x) == horizontal_speed

der(z) == Vc*sin(incline_angle_x)

% Outputs
elevation == z
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
varnames = [
"Grade percent"
"Incline angle"
"Curvilinear speed"
"Vehicle speed"
"Horizontal speed"
"Horizontal position"
"Elevation"
];
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading
Loading