TomTom Maps for JavaScript
    Preparing search index...

    Type Alias ElectricVehicleStateKWH

    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
    };
    type ElectricVehicleStateKWH = {
        currentChargeInkWh: number;
    }
    Index

    Properties

    currentChargeInkWh: number

    Specifies the current battery charge in kWh.

    Note: Needed if the maxChargeKWH is not set in the model.

    Typical Battery Sizes:

    • Small EV: 30-40 kWh
    • Mid-size EV: 60-75 kWh
    • Large EV: 80-100+ kWh
    • Electric truck: 150-200+ kWh

    Minimum: 0

    currentChargeInkWh: 60   // 60 kWh remaining
    currentChargeInkWh: 15 // Low battery (15 kWh)