Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| cell_type_id | serial | 10 | √ | nextval('batteries_meta_batterytype_id_seq'::regclass) |
|
|
Unique identifier for the cell type. Auto-incremented upon insertion. |
|||||||||||||||||||
| manufacturer | text | 2147483647 | √ | null |
|
|
Manufacturer of the cell. |
|||||||||||||||||||
| manufacturer_pn | text | 2147483647 | √ | null |
|
|
Part number of the cell from the manufacturer. |
|||||||||||||||||||
| form_factor | text | 2147483647 | √ | null |
|
|
Geometry of the cell, e.g. cylindrical, pouch, prismatic, coin. |
|||||||||||||||||||
| capacity_mah | int4 | 10 | √ | null |
|
|
Rated capacity of the cell in mAh. |
|||||||||||||||||||
| chemistry | text | 2147483647 | √ | null |
|
|
Electrode and electrolyte material. |
|||||||||||||||||||
| dimensions | jsonb | 2147483647 | √ | null |
|
|
Dimensions of the cell type. For pouch cells, H x W x L in mm. For cyclindrical cells, r x H in mm. For example, ‘{“x_mm”:54.25, “y_mm”:106.96, “z_mm”:3.19}’ for a pouch cell and ‘{“x_mm”:54.25, “y_mm”:106.96, “z_mm”:3.19}’ for a cyclindrical cell. |
|||||||||||||||||||
| datasheet | bytea | 2147483647 | √ | null |
|
|
Datasheet for the cell type. BattETL will convert the pdf file to binary data and store it in the database. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| batterytype_id | Primary key | Asc | cell_type_id |
| unique_manufacturer_and_pn | Must be unique | Asc/Asc | manufacturer + manufacturer_pn |



