Electric vehicle state specified by absolute energy in kilowatt-hours.
Use this when you know the exact energy remaining without needing to specify the maximum battery capacity.
const state: ElectricVehicleStateKWH = { currentChargeInkWh: 60 // 60 kWh remaining}; Copy
const state: ElectricVehicleStateKWH = { currentChargeInkWh: 60 // 60 kWh remaining};
Specifies the current battery charge in kWh.
Note: Needed if the maxChargeKWH is not set in the model.
maxChargeKWH
Typical Battery Sizes:
Minimum: 0
currentChargeInkWh: 60 // 60 kWh remainingcurrentChargeInkWh: 15 // Low battery (15 kWh) Copy
currentChargeInkWh: 60 // 60 kWh remainingcurrentChargeInkWh: 15 // Low battery (15 kWh)
Electric vehicle state specified by absolute energy in kilowatt-hours.
Remarks
Use this when you know the exact energy remaining without needing to specify the maximum battery capacity.
Example