Main Content

PrismaticGeometry

Prismatic geometry for battery cell

Since R2022b

Description

Use PrismaticGeometry to represent the geometry of a prismatic battery cell. To specify the dimensions of a prismatic geometry, use the Length, Thickness, and Height properties.

Creation

Description

Note

To quickly create a PrismaticGeometry object, use the batteryPrismaticGeometry function. By using this function, you avoid importing the namespace, using the full class name, or dealing only with name-value arguments when creating the object. (since R2024a)

To use this object, at the MATLAB® Command Window, run this command at least once each MATLAB session:

import simscape.battery.builder.*; 
All properties are exposed as name-value arguments in this object.

prism = PrismaticGeometry creates a prismatic geometry with default property values.

prism = PrismaticGeometry(Name=Value) creates a prism geometry with a specified length, height, and thickness using name-value arguments.

Properties

expand all

Length of the prism, specified as a positive scalar or a simscape.Value object that represents a positive scalar with a unit of length. This value must be less than 5 meters.

If you set this property directly with a positive scalar value instead of using a simscape.Value object, the object converts the value to a simscape.Value object with meter as its physical unit.

Thickness of the prism, specified as a positive scalar or a simscape.Value object that represents a positive scalar with a unit of length. This value must be less than 0.5 meters.

If you set this property directly with a positive scalar value instead of using a simscape.Value object, the object converts the value to a simscape.Value object with meter as its physical unit.

Height of the prism, specified as a positive scalar or a simscape.Value object that represents a positive scalar with a unit of length. The height of the prism is aligned with the z-axis of the reference frame. This value must be strictly positive.

If you set this property directly with a positive scalar value instead of using a simscape.Value object, the object converts the value to a simscape.Value object with meter as its physical unit.

Version History

Introduced in R2022b