batterySimulationChart
Description
Use batterySimulationChart
to construct a dynamic version of the
BatteryChart
object. Use the dynamic version of the battery chart to visualize the time-series data of a
dynamic variable that you store inside a BatterySimulationLog
object.
Use this object with a BatterySimulationLog
object to visualize how the
relevant states of a specific battery block are impacted by the electro-thermal design and
battery architecture, including cell temperature, current, or state of charge.
The BatterySimulationChart
object scales the variable values on a
colormap by using the maximum and minimum values of that variable over the course of the
entire simulation. The software then uses this colormap to update the colors of a
BatteryChart
object respecting the battery model resolution and the
location of each cell within the battery design. The software overlays the colormap with a 3-D
battery representation for every cell within that battery at every desired timestep.
If you set the ModelResolution
property of the battery to
"Lumped"
, the colors of all the battery cells in the
visualization are the same. Conversely, if you set the ModelResolution
property of the battery to "Detailed"
, the colors of each battery
cell in the visualization differ depending on parameters and the dynamic simulation settings,
including different thermal boundary conditions.
To export the dynamic version of the battery chart as an AVI file, click the
Save video button in the container window or use the createVideo
function. The createVideo
function allows you to specify additional video
options, such as the playback speed and the frame rate, that can reduce the export
times.
Creation
Syntax
Description
creates a chart
= batterySimulationChart(Parent,BatterySimulationLog)BatterySimulationChart
object that displays the time-series
data from the BatterySimulationLog property in the container you specify in the Parent property.
creates a chart
= batterySimulationChart(BatterySimulationLog)BatterySimulationChart
object that displays the time-series
data from the BatterySimulationLog property.
sets Properties using one or more name-value
arguments. Specify the name-value arguments after all the arguments in any of the previous
syntaxes.chart
= batterySimulationChart(___,Name=Value
)
Properties
Object Functions
createVideo | Create video of battery simulation chart |
Examples
Version History
Introduced in R2023b