{"id":19129850,"url":"https://github.com/mathworks/simscape-battery-electric-vehicle-model","last_synced_at":"2026-01-16T17:28:28.859Z","repository":{"id":40777271,"uuid":"310048478","full_name":"mathworks/Simscape-Battery-Electric-Vehicle-Model","owner":"mathworks","description":"A Battery Electric Vehicle (BEV) model in Simscape for longitudinal powertrain analysis","archived":false,"fork":false,"pushed_at":"2025-03-26T16:15:00.000Z","size":67328,"stargazers_count":110,"open_issues_count":9,"forks_count":35,"subscribers_count":7,"default_branch":"R2024b","last_synced_at":"2025-03-29T17:12:21.091Z","etag":null,"topics":["automotive","electric-vehicles","matlab","simscape","simulation","simulink"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mathworks.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-04T15:51:51.000Z","updated_at":"2025-03-27T10:48:51.000Z","dependencies_parsed_at":"2025-02-11T09:42:22.641Z","dependency_job_id":null,"html_url":"https://github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathworks%2FSimscape-Battery-Electric-Vehicle-Model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathworks%2FSimscape-Battery-Electric-Vehicle-Model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathworks%2FSimscape-Battery-Electric-Vehicle-Model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathworks%2FSimscape-Battery-Electric-Vehicle-Model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathworks","download_url":"https://codeload.github.com/mathworks/Simscape-Battery-Electric-Vehicle-Model/tar.gz/refs/heads/R2024b","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247378144,"owners_count":20929296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automotive","electric-vehicles","matlab","simscape","simulation","simulink"],"created_at":"2024-11-09T06:08:42.215Z","updated_at":"2025-04-05T18:08:30.569Z","avatar_url":"https://github.com/mathworks.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Battery Electric Vehicle Model in Simscape\u0026trade;\n\n[![View Battery Electric Vehicle Model in Simscape on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/82250-battery-electric-vehicle-model-in-simscape)\n\nVersion 2.4\n\n## Introduction\n\nThis is a MATLAB\u0026reg; Project containing\na [Battery Electric Vehicle (BEV) model](BEV/README.md) and\nits components such as\nmotor, high voltage battery, and longitudinal vehicle.\nThis project demonstrates Simscape's modular and\nmulti-fidelity modeling technology.\n\nThe abstract BEV model is built in a simple and modular fashion,\nand it can run faster than real-time.\nIt is suitable as a baseline model for drive cycle simulation\nto estimate vehicle's electrical efficiency and\nother vehicle-level information.\n\nThis project also contains the model of a detailed\npermanent magnet synchronous motor (PMSM) and controller.\nIt captures the detailed behaviors of the AC motor drive unit\nand can estimate the electrical efficiency at the unit level.\n\nA Live Script demonstrates how to obtain the electrical efficiency\nfrom the slow but detailed motor drive unit and use the result\nas the block parameter of the simple but fast motor drive block\nin the BEV model.\n\n\u003cimg src=\"BEV/Utility/Images/BEV_system_model_screenshot.png\"\n alt=\"Screenshot of the battery electric vehicle model\"\n width=\"700\"\u003e\n\n\u003cimg src=\"BEV/results/BEV_SimulationResultPlot.png\"\n alt=\"Screenshot of the simulation result plots\"\n width=\"700\"\u003e\n\n\u003cimg src=\"Components/Vehicle1D/Utility/Images/screenshot_Vehicle1DPerformanceDesignApp.png\"\n alt=\"Screenshot of the longitudinal vehicle performance design app\"\n width=\"700\"\u003e\n\n## What's New in 2.4 (November, 2024)\n\n- The project has been updated to MATLAB R2024b with some clean ups.\n- Added brief entry-point descriptions about MATLAB project and Git\n  to [Using MATLAB Project](docs/Using-MATLAB-Project.md).\n  The page also provides links to product documentation for more information.\n\n## What's New in 2.3 (June, 2024)\n\n- The project has been updated to MATLAB R2024a.\n- Vehicle1D performance design app is added.\n- For veiwing Live Scripts in the GitHub web site in the browser,\n  they are converted to Markdown files and collected in the Markdown folder.\n\n## What's New in 2.2 (September, 2023)\n\n- The project has been updated to MATLAB R2023b.\n- [MATLAB Build Tool][url-buildtool] is used to automate tasks\n  to generate HTML files and Jupyter notebooks from all Live Scripts\n  in the project.\n- GitHub Actions has been updated to generate and upload\n  test report and coverage report.\n- GitHub Actions also generates Jupyter notebooks from Live Scripts.\n  Jupyter notebooks can be viewed in the repo in the browser.\n\n[url-buildtool]: https://www.mathworks.com/help/matlab/matlab_prog/overview-of-matlab-build-tool.html\n\n## What's New in 2.1 (March, 2023)\n\n- The project has been updated to MATLAB R2023a.\n- A shortcut button to open **MATLAB Test Manager**\n  is added in the Project Shortcuts tab of the toolstrip.\n  MATLAB Test Manager requires the **MATLAB Test** license.\n\nSee [Change Log](ChangeLog.md) for more details.\n\n## What's New in 2.0 (February, 2023)\n\n- BEV system model uses updated components and\n  has simpler and easier configurability\n  for selecting vehicle speed reference input.\n- High voltage battery component provides\n  four different models:\n  **Basic**, **System simple**, **System**, and **System tabulated**.\n  They are all system level models and abstract,\n  but they prodive different fidelity levels of the model.\n  See [README](./Components/BatteryHighVoltage/README.md) in\n  **Components \u003e BatteryHighVoltage** for more details.\n- Motor drive unit component provides\n  four different models:\n  **Basic**, **Basic thermal**, **System**, and **System tabulated**.\n  They are all system level models and abstract,\n  but they prodive different fidelity levels of the model.\n  See [README](./Components/MotorDriveUnit/README.md) in\n  **Components \u003e MotorDriveUnit** for more details.\n- A detailed battery model built with a custom Simscape library\n  has been removed.\n  [This project][url-bev] will remain focused\n  on vehicle system-level applications using abstract models\n  in future updates.\n  A new project [Electric Vehicle Design with Simscape][url-bev-design]\n  serves as an alternative for detailed model applications.\n\nSee [Change Log](ChangeLog.md) for more details.\n\n## Tool Requirements\n\nSupported MATLAB Version:\nR2024b or newer releases\n\nRequired:\n[MATLAB](https://www.mathworks.com/products/matlab.html),\n[Simulink\u0026reg;](https://www.mathworks.com/products/simulink.html),\n[Powertrain Blockset](https://www.mathworks.com/products/powertrain.html),\n[Simscape](https://www.mathworks.com/products/simscape.html),\n[Simscape Driveline\u0026trade;](https://www.mathworks.com/products/simscape-driveline.html),\n[Simscape Electrical\u0026trade;](https://www.mathworks.com/products/simscape-electrical.html)\n\nOptional:\n[MATLAB Test](https://www.mathworks.com/products/matlab-test.html),\n[Parallel Computing Toolbox\u0026trade;](https://www.mathworks.com/products/parallel-computing.html)\n\n## How to Use\n\nOpen `BatteryElectricVehicle.prj` in MATLAB, and\nit will automatically open the project main page `BEV_main_script.html`.\nThe script contains the description of the model and\nhyperlinks to models and scripts.\n\n## How to Use in MATLAB Online\n\nYou can try this in [MATLAB Online][url_online].\nIn MATLAB Online, from the **HOME** tab in the toolstrip,\nselect **Add-Ons** \u0026gt; **Get Add-Ons**\nto open the Add-On Explorer.\nThen search for the submission name,\nnavigate to the submission page,\nclick **Add** button, and select **Save to MATLAB Drive**.\n\n[url_online]: https://www.mathworks.com/products/matlab-online.html\n\n## Additional Notes\n\n- [Using MATLAB Project](docs/Using-MATLAB-Project.md)\n\n- [MATLAB Testing Framework](docs/MATLAB-Testing-Framework.md)\n\n## See Also\n\n[Hybrid Electric Vehicle Model in Simscape][url-hev-powersplit]\nprovides an abstract power-split HEV model.\nThe level of abstraction is similar to\nthis [BEV model in Simscape][url-bev] project.\n\n[Electric Vehicle Design with Simscape][url-bev-design]\nprovides BEV design workflows using detailed models\nfor detailed analysis.\nNote that the [BEV model in Simscape][url-bev] project\n(the current project you are viewing) is focused on\nvehicle system-level applications using abstract models.\n\n[url-bev]: https://www.mathworks.com/matlabcentral/fileexchange/82250\n[url-bev-design]: https://www.mathworks.com/matlabcentral/fileexchange/124795\n[url-hev-powersplit]: https://www.mathworks.com/matlabcentral/fileexchange/92820\n\n## License\n\nSee [`license.txt`](license.txt).\n\n_Copyright 2020-2024 The MathWorks, Inc._\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathworks%2Fsimscape-battery-electric-vehicle-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathworks%2Fsimscape-battery-electric-vehicle-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathworks%2Fsimscape-battery-electric-vehicle-model/lists"}