Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Running Thermal Simulations

FASTSim has optional vehicle model components for thermal simulation:

  • cabin: Models cabin temperature and heat transfer

  • hvac: Models HVAC performance

  • FC thrml: Models fuel converter (e.g. internal combustion engine) thermal performance

  • RES thrml: Models reversible energy storage (i.e. traction battery) thermal performance

See Vehicles in FASTSim for a complete description of each thermal component.

Demo

Thermal behavior in FASTSim depends on both drive-cycle conditions and component thermal state at simulation start.

This demo uses one thermal HEV to show how ambient conditions and initial component temperatures influence fuel use and thermal trajectories over the same drive cycle.

This demo compares three scenarios on the same UDDS cycle:

  1. Cold soak with cold ambient.

  2. Warm component start with cold ambient.

  3. Warm component start with warm ambient.

Across these runs, FASTSim thermal behavior is driven by:

  • cycle ambient air temperature (cyc.temp_amb_air_kelvin),

  • initial cabin temperature,

  • initial battery (RES) temperature,

  • initial fuel-converter temperature.

The goal is to isolate how initial thermal state and ambient conditions change thermal transients and fuel consumption.

Note: this demo does not cover every thermal feature across all powertrains. For example, BEV-specific HVAC and BEV-only thermal behavior are not fully represented by a single HEV model.

Define Thermal Scenarios

All scenarios use the same HEV and cycle. Only ambient and initial temperatures change.

Scenarios:

  1. Cold soak, cold ambient.

  2. Warm start, cold ambient.

  3. Warm start, warm ambient.

Apply Initial Temperatures and Run Simulations

The helper below edits the thermal HEV state before simulation by writing temperature values into the vehicle dictionary and ambient values into the cycle dictionary.

Summary Metrics

This table compares fuel economy and final temperatures across the three initial-condition cases.

Loading...

Fuel Use by Segment

This combined figure aligns fuel power and speed on one shared time axis so you can inspect where temperature-dependent behavior influences fuel use during the cycle.

Loading...

Thermal State Trajectories

This figure compares cabin, battery, and fuel-converter temperatures across scenarios, with ambient temperature shown as a dashed reference.

A fourth panel shows achieved speed so the rangeslider preview reflects cycle-speed segments while you inspect thermal transients.

Loading...