Get Started with the Virtual Vehicle Composer
The Virtual Vehicle Composer app enables you to configure and build a virtual vehicle that you can use for system-level performance analysis, including component sizing, fuel economy, drive cycle tracking, software integration testing, and hardware-in-the-loop (HIL) testing. Use the app to quickly enter your vehicle parameter data, build a virtual vehicle model, run test scenarios, and analyze the results.
The virtual vehicle model contains the blocks and reference application subsystems available with Powertrain Blockset™, Vehicle Dynamics Blockset™, Simscape™ Driveline™, and Simscape Electrical™. You can use the app to quickly configure the architecture and enter parameter data.
Open the Virtual Vehicle Composer App
To open the app, do either of the following:
MATLAB® Toolstrip: On the Apps tab, under Automotive, click the Virtual Vehicle Composer app icon .
MATLAB command prompt: Enter
Virtual Vehicle Composer Workflow
To build, operate, and analyze your virtual
vehicle, use the Virtual Vehicle Composer app
Composer tab options. To get started with an example,
follow the workflow steps to build a four-wheeled electric vehicle (EV), test it with
FTP–75 drive cycle, and analyze the results.
|Setup Virtual Vehicle|
Select New, then specify:
|Configure Virtual Vehicle Data|
Data and Calibration
Specify the chassis, tire, brake type, powertrain, and driver. For each selection, enter the vehicle parameter data.
Scenario and Test
Select the virtual vehicle test scenario. Options include a drive cycle scenario for fuel economy and energy management analysis.
Select the model signal data to log when operating your virtual vehicle. Options include vehicle position, velocity, and acceleration.
Build your virtual vehicle. When you build, the Virtual Vehicle Composer creates a Simulink® model that contains the vehicle architecture and data that you specified in the configuration steps.
Run Test Plan
Simulate your model in the scenario that you specified in step 2.
Simulation Data Inspector
Use the Simulation Data Inspector to view and inspect the simulation signals.