diff --git a/spec/Powertrain/Battery.vspec b/spec/Powertrain/Battery.vspec index 1eb6a06a6..17d221e86 100644 --- a/spec/Powertrain/Battery.vspec +++ b/spec/Powertrain/Battery.vspec @@ -24,6 +24,13 @@ ProductionDate: type: attribute description: Production date of battery in ISO8601 format, e.g. YYYY-MM-DD. +ErrorCodes: + datatype: string[] + type: sensor + description: Current error codes related to the battery, if any. + comment: Error code format is not defined, it may be DTCs according to OBD II (SAE-J2012DA_201812) + standard ([P|C|B|U]XXXXX ) or any other format. + IsPowerConnected: datatype: boolean type: sensor @@ -60,6 +67,12 @@ Temperature.Max: unit: celsius description: Current maximum temperature of the battery cells, i.e. temperature of the hottest cell. +Temperature.CellTemperature: + datatype: float[] + type: sensor + description: Array of cell temperatures. Length or array shall correspond to number of cells in vehicle. + comment: Cells are identified by relative position in array. + CellVoltage: type: branch description: Voltage information for cells in the battery pack. @@ -70,12 +83,30 @@ CellVoltage.Min: unit: V description: Current voltage of the battery cell with lowest voltage. +CellVoltage.IdMin: + datatype: uint16 + type: sensor + description: Identifier of the battery cell with lowest voltage. + comment: Identifier is supposed to be relative index of the cell, starting with 0 the first cell. + CellVoltage.Max: datatype: float type: sensor unit: V description: Current voltage of the battery cell with highest voltage. +CellVoltage.IdMax: + datatype: uint16 + type: sensor + description: Identifier of the battery cell with highest voltage. + comment: Identifier is supposed to be relative index of the cell, starting with 0 the first cell. + +CellVoltage.CellVoltage: + datatype: float[] + type: sensor + description: Array of cell voltages. Length or array shall correspond to number of cells in vehicle. + comment: Cells are identified by relative position in array. + GrossCapacity: datatype: uint16 type: attribute @@ -88,7 +119,6 @@ NetCapacity: unit: kWh description: Total net capacity of the battery considering aging. - StateOfHealth: datatype: float type: sensor @@ -290,12 +320,13 @@ Charging.ChargePlugType: Charging.Mode: datatype: string type: actuator - allowed: ['MANUAL', 'TIMER', 'GRID', 'PROFILE'] + allowed: ['MANUAL', 'TIMER', 'GRID', 'PROFILE', 'V2X'] description: Control of the charge process. MANUAL means manually initiated (plug-in event, companion app, etc). TIMER means timer-based. GRID means grid-controlled (e.g. ISO 15118). - PROFILE means controlled by profile download to vehicle. + PROFILE means controlled by profile downloaded to vehicle. + V2X indicates that the Vehicle provides power to some external entity. comment: The mechanism to provide a profile to the vehicle is currently not covered by VSS. Charging.IsCharging: