Maps SDK for C++ 1.0.0
Loading...
Searching...
No Matches
gem::EVProfile Struct Reference

EV routing profile. More...

Inheritance diagram for gem::EVProfile:
Collaboration diagram for gem::EVProfile:

Public Member Functions

 EVProfile () noexcept
 default constructor EVProfile
EVProfilesetCarModel (const EVCarModel &model) noexcept
 set car model
bool operator== (const EVProfile &p) const
 Comparison operator.
bool operator!= (const EVProfile &p) const
 Comparison operator.
bool operator== (const EVCarModel &model) const
 equality operator
bool operator!= (const EVCarModel &model) const
 inequality operator

Public Attributes

float departureSoc
float destinationSoc
float chargerDepSoc
float chargerDestSoc
int chargerOverheadMins
float batteryHealth
int id
String name
float batteryCapacity
int towbarPossible
int ports
int vehicleRange
int efficiency
int fastCharge

Detailed Description

EV routing profile.

Member Function Documentation

◆ operator!=()

bool gem::EVCarModel::operator!= ( const EVCarModel & model) const
inlineinherited

inequality operator

Parameters
modelEVCarModel
Returns
true if id is not equal

◆ operator==()

bool gem::EVCarModel::operator== ( const EVCarModel & model) const
inlineinherited

equality operator

Parameters
modelEVCarModel
Returns
true if id is equal

◆ setCarModel()

EVProfile & gem::EVProfile::setCarModel ( const EVCarModel & model)
inlinenoexcept

set car model

Parameters
modelEVCarModel
Returns
EVProfile reference

Member Data Documentation

◆ batteryCapacity

float gem::EVCarModel::batteryCapacity
inherited

battery usable capacity Wh

◆ batteryHealth

float gem::EVProfile::batteryHealth

Battery health, from 0.f ( nonfunctional ) to 1.f ( brand new )

◆ chargerDepSoc

float gem::EVProfile::chargerDepSoc

Charger departure max battery state of charge, from 0.f ( empty ) to 1.f ( full )

◆ chargerDestSoc

float gem::EVProfile::chargerDestSoc

Charger destination min battery state of charge, from 0.f ( empty ) to 1.f ( full )

◆ chargerOverheadMins

int gem::EVProfile::chargerOverheadMins

Charger time overhead in minutes

◆ departureSoc

float gem::EVProfile::departureSoc

Departure battery state of charge, from 0.f ( empty ) to 1.f ( full )

◆ destinationSoc

float gem::EVProfile::destinationSoc

Destination min battery state of charge, from 0.f ( empty ) to 1.f ( full )

◆ efficiency

int gem::EVCarModel::efficiency
inherited

consumption in Wh / km

◆ fastCharge

int gem::EVCarModel::fastCharge
inherited

how many km charged in one hour (10 - 80 interval)

◆ id

int gem::EVCarModel::id
inherited

model unique id

◆ name

String gem::EVCarModel::name
inherited

car model name

◆ ports

int gem::EVCarModel::ports
inherited

Supported charging ports, a combination of 1 or more EEVChargingConnector

◆ towbarPossible

int gem::EVCarModel::towbarPossible
inherited

maximum weight available on vehicle towbar

◆ vehicleRange

int gem::EVCarModel::vehicleRange
inherited

vehicle range in meters