{"id":19129834,"url":"https://github.com/mathworks/battery-pack-model-simscape","last_synced_at":"2025-04-06T07:09:57.352Z","repository":{"id":48826069,"uuid":"310564570","full_name":"mathworks/Battery-Pack-Model-Simscape","owner":"mathworks","description":"Battery pack model for thermal management tasks, with modules of cells in series and parallel.","archived":false,"fork":false,"pushed_at":"2025-01-04T20:43:38.000Z","size":46064,"stargazers_count":97,"open_issues_count":1,"forks_count":31,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-30T06:04:41.523Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-06T10:27:30.000Z","updated_at":"2025-03-26T02:43:20.000Z","dependencies_parsed_at":"2024-08-18T09:53:22.263Z","dependency_job_id":null,"html_url":"https://github.com/mathworks/Battery-Pack-Model-Simscape","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathworks%2FBattery-Pack-Model-Simscape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathworks%2FBattery-Pack-Model-Simscape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathworks%2FBattery-Pack-Model-Simscape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathworks%2FBattery-Pack-Model-Simscape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathworks","download_url":"https://codeload.github.com/mathworks/Battery-Pack-Model-Simscape/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445667,"owners_count":20939958,"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":[],"created_at":"2024-11-09T06:08:39.640Z","updated_at":"2025-04-06T07:09:57.313Z","avatar_url":"https://github.com/mathworks.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Battery Electric Vehicle (BEV) Battery Pack Design in Simscape\nCopyright 2020-2021 The MathWorks, Inc.\n\nThis repository shows use of Simscape to model an electric vehicle\nbattery pack. There are five examples:\n1. Battery Pack Thermal Management\n   * Shows how to model an automotive battery pack for thermal management tasks. \n2. Full Vehicle Thermal Management\n   * Shows a BEV full vehicle thermal management with a detailed battery model.\n3. Workflow from Module Design to Full Pack\n   * Demonstrates a workflow to go from a detailed battery module design \n     to a real-time pack plant model\n4. Battery Management System for State of Charge estimation\n   * Shows how to use Kalman Filters (EKF) and predict battery state of charge.\n5. Battery Temperature estimation using Neural Networks\n   * Shows how to use Neural Networks to eliminate a sensor in the battery pack. \n     Demonstrates a workflow to generate training data for neural networks, \n     train the network, validate it and use for time-series prediciton, and \n     code generation for hardware deployment.\n\nOpen batteryExamplesProjectSetup.prj to get started up the project path. The \nproject shortcut buttons in the toolstrip open these three examples.\n\nAll examples have a battery-module custom component that is based on \nSimscape Electrical [Battery (Table-Based)](https://www.mathworks.com/help/physmod/sps/ref/batterytablebased.html)\nblock for modeling battery behavior. Please visit the [Simscape Electrical](https://www.mathworks.com/products/simscape-electrical.html) \npage to learn more about modeling electrical systems.\n\nView on File Exchange: [![View Battery Pack Model in Simscape on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/82330-battery-pack-model-in-simscape).  \nYou can also open in MATLAB Online: [![Open in MATLAB Online](https://www.mathworks.com/images/responsive/global/open-in-matlab-online.svg)](https://matlab.mathworks.com/open/github/v1?repo=mathworks/Battery-Pack-Model-Simscape\u0026project=batteryExamplesProjectSetup.prj) \n\n## **Battery Pack Thermal Management**\nYou will learn how to model an automotive battery pack for\nthermal management tasks. The battery pack consists of several\nbattery modules, which are combinations of cells in series and\nparallel. The Battery Controls subsystem defines the logic to \ndetermine the required level of cooling for the applied current \nload. \n\n![](Overview/html/Battery_Pack_Thermal_Management_01.png)\n\n\n## **Full Vehicle Thermal Management**\nYou will learn how to model the complete thermal management system for \na battery electric vehicle. The system consists of two coolant loops, a \nrefrigeration loop, and a cabin HVAC loop. The thermal load are the \nbatteries, the powertrain, and the cabin.\n\n![](Overview/html/EV_Thermal_Management_01.png)\n\n\n## **Workflow from Module Design to Full Pack**\nYou will learn how to design a battery module, build a HV pack using \nthe module, and run battery plant simulations.\n\n### **BEV Battery Module Detailed Design**\n![](Scripts_Data/BEV_Battery_Plant_Model_01.png)\n\n### **BEV Full-Battery Pack Plant Model**\n![](Scripts_Data/BEV_Battery_Plant_Model_05.png)\n\n\n## **Battery Management System**\nYou will learn how to use Kalman Filters to estimate battery state \nof charge. The battery pack consists of two battery modules, \nwhich are combinations of cells in series and parallel. \n\n![](Overview/html/Battery_Management_System_01.png)\n\n\n## **Neural Network for Battery Temperature Prediction**\nYou will learn how to train, validate, deploy a neural network to predict\nBattery Pack temperature.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathworks%2Fbattery-pack-model-simscape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathworks%2Fbattery-pack-model-simscape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathworks%2Fbattery-pack-model-simscape/lists"}