batterySimulationLog
Store logged Simscape simulation data of battery block in Simulink model
Since R2023b
Description
Use batterySimulationLog
to construct a battery simulation object
that stores the logged Simscape™ simulation data of a specific battery block inside a Simulink® model.
This Simulink model must contain at least one of the Simscape
Battery™ blocks that you generate by using the objects and functions in the Battery Pack
Model Builder, including ParallelAssembly
,
Module
, ModuleAssembly
,
and Pack
.
Use this object as an input to the BatterySimulationChart
object to dynamically visualize the values of a specific
variable on top of the 3-D battery simulation chart using a colormap.
Use the BatterySimulationLog
object to:
Store the dynamic output data of a specific battery block.
Specify which block variable to visualize in the
BatterySimulationChart
object.Specify a commensurate Simscape unit to visualize the selected variable.
Creation
Syntax
Description
sets further Properties using one or more name-value
arguments.battsimlog
= batterySimulationChart(Battery,SimLog,Name=Value
)
Properties
Examples
Version History
Introduced in R2023b