3.1.9.2.14. waf_tools.bms_config_model.TemperatureSensor

class waf_tools.bms_config_model.TemperatureSensor(manufacturer: Annotated[Literal['epcos', 'fake', 'murata', 'semitec', 'tdk', 'vishay'], BeforeValidator(func=_to_lower, json_schema_input_type=PydanticUndefined)], method: Annotated[str, BeforeValidator(func=_to_lower, json_schema_input_type=PydanticUndefined), FieldInfo(annotation=NoneType, required=True, metadata=[Strict(strict=True)])], model: Annotated[str, BeforeValidator(func=_to_lower, json_schema_input_type=PydanticUndefined), FieldInfo(annotation=NoneType, required=True, metadata=[Strict(strict=True)])])

Bases: object

Temperature sensor configuration for the BMS-Slave board.

Defines the NTC thermistor used for cell temperature measurement and the evaluation method.

manufacturer

Sensor manufacturer name.

Type:

Literal[‘epcos’, ‘fake’, ‘murata’, ‘semitec’, ‘tdk’, ‘vishay’]

method

Evaluation method.

Type:

str

model

Sensor model/part number.

Type:

str

Raises:

ValueError – If the manufacturer/model/method combination is unsupported.