Can we create a sport+ mode for an EV, by making changes exclusively to the software controllers? ![Demo Overview](Scripts/System Simulation Study/Images/SDV SportPlus Mode Overview.png)
- Virtual Vehicle Composer App
- Running Parallel Simulations wtih Parsim
- Using MATLAB and Simulink on the Cloud
- Connect to your Cloud Data (Access S3 buckets)
Powertrain Blockset, Parallel Computing Toolbox, MATLAB Parallel Server, Simulink
This project can be cloned to your local computer. However, we also assume you will be trying to run this project on a cloud resource, such as an EC2 instance which you create using either MathWorks Reference Architectures or more easily using using Cloud Center.
- Open MATLAB
- Download and install the Powertrain Blockset Drive Cycle Data using the Add-on Manager
- Clone this repository into a local folder on this remote machine
- Open the Project
EV_DualMotor_Reference.prj
- Using the Project Shortcuts, open the model
ConfiguredVirtualVehicleModel.slx
- Simulate the model, and confirm there are no limitations or errors
- Using the Project Shortcuts, open the Live Script
regenMax_sischrgMax_Study.mlx
- Run the script section by section, and confirm you are able to complete the parallel simulation study
![MATLAB on AWS Reference Architecture](Scripts/System Simulation Study/Images/aws-matlab-diagram.png)
- Create and setup access to your AWS or Azure credentials. Instructions to to that are located here.This allows you to be able to create cloud computing instances where you can run MATLAB and this project.
- Setup your MathWorks Cloud Center by logging into cloudcenter.mathworks.com.
- Add your AWS/Azure credentials into Cloud Center.
- Create a MATLAB EC2 instance, from within the cloud center. The table below specifies the settings you would need to apply to setup and run this simulation.
- Start the remote instance, either as a remote desktop or using nice DCV (doc here).
- On the remote instance, Open MATLAB and login using your MathWorks Credentials
Creating a Cloud Resource from Cloud Center
Config Property | Value |
---|---|
Name | R23a_System_Simulation_Study |
Release | R2023a |
Operating System | Windows |
Description | R2023a |
Instance Type | General Purpose (m5.12xlarge, 24 core, 48vCPU, 192 GiB RAM) |
Auto-Shurdown (hrs) | 8 hours |
VPC | 10.0.0.0/16ae-vpc |
Remote Desktop Access | xx.xx.xxx.xxx/32 (Lookup your public IP address and enter it in this field) |
AWS Key Pair | Create and add a keypair |
(All other fields can be left at their default value)
System Simulation Study: https://www.mathworks.com/videos/how-cloud-based-virtual-vehicles-can-help-you-build-your-next-gen-software-1715775406041.html SDV Overview:
Sameer K Muckatira
Automotive, AeroDef, anyone looking to run system level studies using parsim