WOLFRAM

Validating Battery Safety and Performance Requirements

Can an electric vehicle’s battery maintain safe operating temperatures during a demanding highway drive cycle? This example demonstrates how to define and automatically validate a time-based requirement—without writing custom post-processing code—using System Modeler’s built-in validation functionality.

To run this example, you'll need

The latest versions of System Modeler and Mathematica.

Please make a selection:

Get a
free trial
Continue
with download

Model Overview

We use an EV model and feed it with the US EPA HWFET drive cycle.

Model of the electric vehicle.

Define a Requirement & Validate

To ensure safe operation, the battery temperature must remain above a specified threshold except for brief periods—not exceeding a total of 8.5 minutes over the simulation.

We define a temporal requirement using the validation functionality: BatteryTemperature < 28°C for all but 8.5 minutes of the cycle. The initial model fails to satisfy the requirement.

Understand Failure Configuration

Plot the failure intervals and verify by plotting the battery temperature.

Battery temperature exceeds threshold around the 60-minute mark, violating the validation requirement.

Adjust Model Parameters

By redesigning the battery pack to lower its internal resistance, we reduce heat generation and ensure the battery remains within safe temperature limits.

The model validates successfully.