# 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

### Syntax

``prism = PrismaticGeometry``
``prism = PrismGeometry(Name=Value)``

### Description

Note

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

`import simscape.battery.builder.*; `

````prism = PrismaticGeometry` creates a prismatic geometry with default property values.```
````prism = PrismGeometry(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.

Example: `prism.Length = simscape.Value(0.3,"m")`

Example: `prism.Length = 0.3`

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.

Example: `prism.Thickness = simscape.Value(0.045,"m")`

Example: `prism.Thickness = 0.045`

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.

Example: `prism.Height = simscape.Value(0.15,"m")`

Example: `prism.Height = 0.15`

## Version History

Introduced in R2022b