GithubHelp home page GithubHelp logo

classicvalues / simscape-battery-electric-vehicle-model Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mathworks/simscape-battery-electric-vehicle-model

1.0 1.0 0.0 13.81 MB

A Battery Electric Vehicle (BEV) model in Simscape for longitudinal powertrain analysis

License: Other

MATLAB 81.50% HTML 18.50%

simscape-battery-electric-vehicle-model's Introduction

Battery Electric Vehicle Model in Simscape™

View Battery Electric Vehicle Model in Simscape on File Exchange

Version 1.2

Introduction

This is a MATLAB® Project containing a Battery Electric Vehicle (BEV) model and its components such as motor, high voltage battery, and longitudinal vehicle. This project demonstrates Simscape's modular and multi-fidelity modeling technology.

The abstract BEV model is built in a simple and modular fashion, and it can run faster than real-time. It is suitable as a baseline model for drive cycle simulation to estimate vehicle's electrical efficiency and other vehicle-level information.

This project also contains the model of a detailed permanent magnet synchronous motor (PMSM) and controller. It captures the detailed behaviors of the AC motor drive unit and can estimate the electrical efficiency at the unit level.

A Live Script demonstrates how to obtain the electrical efficiency from the slow but detailed motor drive unit and use the result as the block parameter of the simple but fast motor drive block in the BEV model.

Screenshot of the battery electric vehicle model

Screenshot of the simulation result plots

Watch the YouTube video introducing the model.

What's New in 1.2 (May, 2022)

  • Unit tests were added to some models.
  • GitHub Actions continuous integration is used to automatically run tests when the repository at github.com receives a push.
  • This project requires MATLAB R2022a or newer.
  • Abstract high-voltage battery component has three different fidelity levels; isothermal (same as before), simple thermal (newly added using System-Level Battery block from Simscape Driveline), and thermal (newly added using Battery block from Simscape Electrical). They all run fast.

See Change Log for more details.

Tool Requirements

Supported MATLAB Version: R2020b and newer releases

Required: MATLAB, Simulink®, Powertrain Blockset, Simscape, Simscape Driveline™, Simscape Electrical™

Optional: Parallel Computing Toolbox™

How to Use

Open BatteryElectricVehicle.prj in MATLAB, and it will automatically open the Live Script BEV_main_script.mlx. The script contains the description of the model and hyperlinks to models and scripts.

How to Use in MATLAB Online

You can try this in MATLAB Online. In MATLAB Online, from the HOME tab in the toolstrip, select Add-Ons > Get Add-Ons to open the Add-On Explorer. Then search for the submission name, navigate to the submission page, click Add button, and select Save to MATLAB Drive.

License

See LICENSE.txt.

Copyright 2020-2022 The MathWorks, Inc.

simscape-battery-electric-vehicle-model's People

Contributors

isaac-ito-mw avatar

Stargazers

Classic Values avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.