BatteryChart
Visualize battery objects
Description
Use BatteryChart
to construct a battery chart for visualizing a
Simscape Battery object.
Note
The BatteryChart
object does not store or modify any of the properties
of the objects it displays.
The BatteryChart
object displays the battery object according to the
global coordinate system for batteries:
To enable these labels in your chart, use the
setDefaultLabels
function. For more information about setting labels,
see Set Labels for BatteryChart Object.
The BatteryChart
object also allows you to check the current simulation
strategy and model resolution of the battery component. To visualize the simulation strategy
in the chart, set the SimulationStrategyVisible
property to
"on"
or click on the "Show/hide simulation strategy" button on
the top-right corner of the chart.
For example, if you set the ModelResolution
property of a
ParallelAssembly
object to "Lumped"
, the object
automatically scales the electrical parameters of the cell model blocks by using the
NumParallelCells
property. This figure shows the simulation strategy
for a lumped parallel assembly:
Only one cell model block represents all the cell components inside the orange box.
If you set the ModelResolution
property of a
ParallelAssembly
object to "Grouped"
, a number
of cell model blocks equal to the value of the NumParallelCells
property
represents each cell component instead.
Creation
Description
creates a import simscape.battery.builder.*;
chart
= BatteryChart(Name=Value
)BatteryChart
object that visualizes the battery object
specified in the Battery
property, in the container specified in the
Parent
property. This syntax also sets further Properties using one or more name-value
arguments
Properties
Examples
Version History
Introduced in R2022b
See Also
Cell
| ParallelAssembly
| Module
| ModuleAssembly
| Pack