# CylindricalGeometry

Cylindrical geometry for battery cell

Since R2022b

## Description

Use `CylindricalGeometry` to represent the geometry of a cylindrical battery cell. To specify the dimensions of a cylindrical geometry, use the `Radius` and `Height` properties.

## Creation

### Syntax

``````import simscape.battery.builder.*; cylinder = CylindricalGeometry``````
``````import simscape.battery.builder.*; cylinder = CylindricalGeometry(Name=Value)``````

### Description

``````import simscape.battery.builder.*; cylinder = CylindricalGeometry``` creates a cylindrical geometry with default property values.```
``````import simscape.battery.builder.*; cylinder = CylindricalGeometry(Name=Value)``` creates a cylindrical geometry with a specified radius and height using name-value arguments.```

## Properties

expand all

Radius of the cylinder, 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: `cylinder.Radius = simscape.Value(0.0105,"m")`

Example: `cylinder.Radius = 0.0105`

Height of the cylinder, specified as a positive scalar or a `simscape.Value` object that represents a positive scalar with a unit of length. The length of the cylinder 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: `cylinder.Height = simscape.Value(0.07,"m")`

Example: `cylinder.Height = 0.07`

## Version History

Introduced in R2022b