|
| 1 | +# Change Log |
| 2 | + |
| 3 | +## Version 1.3 (2022) |
| 4 | + |
| 5 | +MATLAB Release |
| 6 | + |
| 7 | +- This version requires MATLAB R2022a or newer. |
| 8 | + |
| 9 | +Project |
| 10 | + |
| 11 | +- Simulink model files are saved in `mdl` format. |
| 12 | + |
| 13 | +Models |
| 14 | + |
| 15 | +- Longitudinal Vehicle block from Simscape Driveline is |
| 16 | + added as a new (and default) Referenced Subsystem. |
| 17 | + The previous custom block is still included too. |
| 18 | + |
| 19 | +## Version 1.2 (2022) |
| 20 | + |
| 21 | +MATLAB Release |
| 22 | + |
| 23 | +- This version requires MATLAB R2021a ore newer. |
| 24 | + |
| 25 | +Highlights |
| 26 | + |
| 27 | +- **MATLAB Unit Test** files are added for some models and scripts. |
| 28 | + More will be added in the coming updates. |
| 29 | +- **GitHub Actions** continuous integration is used to automatically |
| 30 | + run unit tests when the repository in GitHub gets updated. |
| 31 | + - Set-up file: `.github/workflow/ci.yml` |
| 32 | + - For more general information about using GitHub Actions with MATLAB, |
| 33 | + see [MATLAB Actions](https://github.com/matlab-actions/overview). |
| 34 | + |
| 35 | +Models |
| 36 | + |
| 37 | +- Power-Split HEV system model is refactored to clean up. |
| 38 | + Previously two separate system models existed |
| 39 | + for speed tracking simulation and direct torque input simulation. |
| 40 | + They are now merged into one. |
| 41 | +- Battery block from Simscape Electrical is added as |
| 42 | + a new referenced subsystem for High-Voltage Battery component. |
| 43 | + The previous model is included as well. |
| 44 | +- DC-DC Converter block from Simscape Electrical is added as |
| 45 | + a new referenced subsystem for DC-DC Converter component. |
| 46 | + The previous model is included as well. |
| 47 | +- Custom Engine block is added as a new referenced subsystem |
| 48 | + for Engine component. |
| 49 | + The previous model is included as well. |
| 50 | + The custom block is parameterized with peak torque, |
| 51 | + engine speed at peak torque, and peak power. |
| 52 | + The block parameter window provides a link to |
| 53 | + make the plots of engine torque and power curves. |
| 54 | +- MG2, MG1, and Engine components have |
| 55 | + a torsional Spring-Damper block from Simscape Driveline |
| 56 | + or equivalent blocks from Foundation Library. |
| 57 | + This allows the energy to properly dissipate when necessary, |
| 58 | + thereby improving simulation robustness and performance. |
| 59 | +- MG1 controller can start the engine. |
| 60 | + This better models the power-split HEV controller. |
| 61 | +- Scopes are moved to individual components. |
| 62 | + This cleans up models, streamlines development workflow, |
| 63 | + and makes model navigation easier. |
| 64 | + |
| 65 | +Test |
| 66 | + |
| 67 | +- Project top-level unit test is added. |
| 68 | + See files under `test`. |
| 69 | + - `HEVProject_runtests.m` automatically finds all unit test files |
| 70 | + in the project folder tree and runs them. |
| 71 | + `.github/workflow/ci.yml` for GitHub Actions uses this |
| 72 | + to perform unit test when the repository is pushed to GitHub. |
| 73 | +- Power-Split HEV system model has unit test files in |
| 74 | + - `HEV` > `PowerSplitHEV_DirectInput` > `test` |
| 75 | + - `HEV` > `PowerSplitHEV_SpeedTracking` > `test` |
| 76 | + - Unit test files: |
| 77 | + - `PowerSplitHEV_DirectInput_UnitTest.m` |
| 78 | + - `PowerSplitHEV_SpeedTracking_UnitTest.m` |
| 79 | + - Test runners: |
| 80 | + - `PowerSplitHEV_DirectInput_runtests.m` |
| 81 | + - `PowerSplitHEV_SpeedTracking_runtests.m` |
| 82 | + - Running these scripts perform unit test and produce |
| 83 | + MATLAB code coverage report. |
| 84 | +- Vehicle1D component has unit test files in |
| 85 | + - `Components` > `Vehicle1D` > `test` |
| 86 | +- Power-Split Drive Unit component has unit test files in |
| 87 | + - `Components` > `PowerSplitDriveUnit` > `test` |
| 88 | +- Engine component has unit test files in |
| 89 | + - `Components` > `Engine` > `test` |
| 90 | +- Drive Pattern component has unit test files in |
| 91 | + - `Components` > `DrivePattern` > `test` |
| 92 | + |
| 93 | +Other updates |
| 94 | + |
| 95 | +- Refactored many folders, models, and scripts. |
| 96 | + |
| 97 | +## Version 1.1 (2021) |
| 98 | + |
| 99 | +MATLAB Release |
| 100 | + |
| 101 | +- MATLAB R2021a or newer release is required. |
| 102 | + |
| 103 | +Highlights |
| 104 | + |
| 105 | +- Parameter Sweep Workflow in Live Script |
| 106 | + - Demonstrates how to investigate the effect of reduction gear ratio, |
| 107 | + high-voltage battery capacity and high-voltage battery weight |
| 108 | + on the electrical efficiency. |
| 109 | + You can optionally use Parallel Computing Toolbox to shorten |
| 110 | + total simulation time. |
| 111 | + - Watch [YouTube video](https://www.youtube.com/watch?v=cbo83A8K_4w) |
| 112 | + showing the workflow as well as real-time application. |
| 113 | + - Real-Time application presented in the video will be added |
| 114 | + to this project in future updates. |
0 commit comments