Descriptors#

Dataclasses to store the physical and meta data of battery cells

class basd.database.cell_data.descriptors.Identification(manufacturer: str, model: str, manufacturer_safe: str, model_safe: str)[source]#

Identification dataclass

Variables:
  • manufacturer – cell manufacturer name

  • model – cell model name

  • manufacturer_safe – cell manufacturer name with dash instead of whitespace

  • model_safe – cell manufacturer name with dash instead of whitespace

__eq__(other)#

Return self==value.

__hash__ = None#
__init__(manufacturer: str, model: str, manufacturer_safe: str, model_safe: str) None#
__repr__()#

Return repr(self).

class basd.database.cell_data.descriptors.Mechanics(weight: float, format: str, standard: str, height: float, length: float, width: float, volume: float)[source]#

Mechanics dataclass

Variables:
  • weight – the weight of the cell in kg

  • format – cell format as prismatic, cylindrical and pouch

  • standard – a standard like BEV4

  • height – height of the cell in meter

  • length – length of the cell in meter

  • width – width of the cell in meter

  • volume – volume of the cell in m^3

__eq__(other)#

Return self==value.

__hash__ = None#
__init__(weight: float, format: str, standard: str, height: float, length: float, width: float, volume: float) None#
__repr__()#

Return repr(self).

class basd.database.cell_data.descriptors.VoltageSpec(nominal: float, minimum: float, maximum: float)[source]#

VoltageSpec dataclass

Variables:
  • nominal – nominal cell voltage in V

  • minimum – minimum cell voltage in V

  • maximum – maximum cell voltage in V

__eq__(other)#

Return self==value.

__hash__ = None#
__init__(nominal: float, minimum: float, maximum: float) None#
__repr__()#

Return repr(self).

class basd.database.cell_data.descriptors.EnergySpec(nominal: float, minimum: float)[source]#

EnergySpec dataclass

Variables:
  • nominal – nominal cell energy in Wh

  • minimum – minimum cell energy in Wh

__eq__(other)#

Return self==value.

__hash__ = None#
__init__(nominal: float, minimum: float) None#
__repr__()#

Return repr(self).

class basd.database.cell_data.descriptors.CapacitySpec(initial: float)[source]#

CapacitySpec dataclass

Variables:

initial – initial capacity of the battery cell in Ah

__eq__(other)#

Return self==value.

__hash__ = None#
__init__(initial: float) None#
__repr__()#

Return repr(self).

class basd.database.cell_data.descriptors.ContinuousCurrentSpec(charge: float, discharge: float)[source]#

ContinuousCurrentSpec dataclass

Variables:
  • charge – maximum charging power of the cell in W

  • discharge – maximum discharge power of the cell in W

__eq__(other)#

Return self==value.

__hash__ = None#
__init__(charge: float, discharge: float) None#
__repr__()#

Return repr(self).

class basd.database.cell_data.descriptors.Electrics(capacity: CapacitySpec, cont_current: ContinuousCurrentSpec, energy: EnergySpec, voltage: VoltageSpec, discharge_curve: list)[source]#

Electrics dataclass

Variables:
  • capacity – CapacitySpec dataclass

  • cont_current – ContinuousCurrentSpec dataclass

  • energy – EnergySpec dataclass

  • voltage – VoltageSpec dataclass

  • discharge_curve – discharge curve of the battery cell as list

__eq__(other)#

Return self==value.

__hash__ = None#
__init__(capacity: CapacitySpec, cont_current: ContinuousCurrentSpec, energy: EnergySpec, voltage: VoltageSpec, discharge_curve: list) None#
__repr__()#

Return repr(self).