Parameters specific to electric vehicles (EVs).
Use for battery electric vehicles when you need accurate range predictions, charging stop calculations, and EV-specific routing.
Key Features:
const params: ElectricVehicleParams = { engineType: 'electric', model: { dimensions: { weightKG: 2000 }, engine: { charging: { maxChargeKWH: 75, batteryCurve: [ { stateOfChargeInkWh: 50, maxPowerInkW: 200 }, { stateOfChargeInkWh: 70, maxPowerInkW: 100 }, { stateOfChargeInkWh: 80, maxPowerInkW: 40 }, ], chargingConnectors: [ { currentType: 'AC3', plugTypes: [ 'IEC_62196_Type_2_Outlet', 'IEC_62196_Type_2_Connector_Cable_Attached', 'Combo_to_IEC_62196_Type_2_Base', ], efficiency: 0.9, baseLoadInkW: 0.2, maxPowerInkW: 11, }, { currentType: 'DC', plugTypes: [ 'IEC_62196_Type_2_Outlet', 'IEC_62196_Type_2_Connector_Cable_Attached', 'Combo_to_IEC_62196_Type_2_Base', ], voltageRange: { minVoltageInV: 0, maxVoltageInV: 500 }, efficiency: 0.9, baseLoadInkW: 0.2, maxPowerInkW: 150, }, ] }, consumption: { speedsToConsumptionsKWH: [ { speedKMH: 50, consumptionUnitsPer100KM: 15 }, { speedKMH: 90, consumptionUnitsPer100KM: 18 }, { speedKMH: 120, consumptionUnitsPer100KM: 23 } ] } } }, state: { currentChargePCT: 80 }, preferences: { chargingPreferences: { minChargeAtDestinationPCT: 20, minChargeAtChargingStopsPCT: 10 } }}; Copy
const params: ElectricVehicleParams = { engineType: 'electric', model: { dimensions: { weightKG: 2000 }, engine: { charging: { maxChargeKWH: 75, batteryCurve: [ { stateOfChargeInkWh: 50, maxPowerInkW: 200 }, { stateOfChargeInkWh: 70, maxPowerInkW: 100 }, { stateOfChargeInkWh: 80, maxPowerInkW: 40 }, ], chargingConnectors: [ { currentType: 'AC3', plugTypes: [ 'IEC_62196_Type_2_Outlet', 'IEC_62196_Type_2_Connector_Cable_Attached', 'Combo_to_IEC_62196_Type_2_Base', ], efficiency: 0.9, baseLoadInkW: 0.2, maxPowerInkW: 11, }, { currentType: 'DC', plugTypes: [ 'IEC_62196_Type_2_Outlet', 'IEC_62196_Type_2_Connector_Cable_Attached', 'Combo_to_IEC_62196_Type_2_Base', ], voltageRange: { minVoltageInV: 0, maxVoltageInV: 500 }, efficiency: 0.9, baseLoadInkW: 0.2, maxPowerInkW: 150, }, ] }, consumption: { speedsToConsumptionsKWH: [ { speedKMH: 50, consumptionUnitsPer100KM: 15 }, { speedKMH: 90, consumptionUnitsPer100KM: 18 }, { speedKMH: 120, consumptionUnitsPer100KM: 23 } ] } } }, state: { currentChargePCT: 80 }, preferences: { chargingPreferences: { minChargeAtDestinationPCT: 20, minChargeAtChargingStopsPCT: 10 } }};
Electric vehicles (EV).
Identifies this as a battery electric vehicle.
Optional
Model (static properties) specifically for electric vehicles.
Should include battery capacity, charging curve, and consumption profiles.
Preferences specifically for electric vehicles.
Includes charging preferences for long-distance trips with charging stops.
State specifically for electric vehicles.
Must include current battery charge (percentage or kWh) for range calculations.
Parameters specific to electric vehicles (EVs).
Remarks
Use for battery electric vehicles when you need accurate range predictions, charging stop calculations, and EV-specific routing.
Key Features:
Example