SYBatteryProfile Class Reference

Electric vehicle battery profile representation. More...

#import <SYEVProfile.h>

Inheritance diagram for SYBatteryProfile:
Collaboration diagram for SYBatteryProfile:

Properties

double capacity
 Total battery capacity in kWh. More...
 
double remaining
 Remaining battery capacity kWh. More...
 
double chargingThreshold
 Charging threshold, percent of capacity. Value between 0 and 1. More...
 
double fullChargeThreshold
 Percent of capacity when battery is considered fully charged. Value between 0 and 1. More...
 
double minimumReserveThreshold
 Percent of capacity which is never used for compute and should always be available. Value between 0 and 1. More...
 
NSArray< SYBatteryChargingData * > * chargingCurve
 Specifies how quickly the battery charges depending of the current charging state. Considered as valid when contains at least one value, otherwise ignored. Must be ordered from lowest to highest charging state. To predict the values inside the specified range, interpolation between the closest points will be used. To predict the values outside the specified range, the closest specified value will be used. More...
 

Detailed Description

Electric vehicle battery profile representation.

Property Documentation

◆ capacity

- (double) capacity
readwritenonatomicassign

Total battery capacity in kWh.

◆ remaining

- (double) remaining
readwritenonatomicassign

Remaining battery capacity kWh.

◆ chargingThreshold

- (double) chargingThreshold
readwritenonatomicassign

Charging threshold, percent of capacity. Value between 0 and 1.

◆ fullChargeThreshold

- (double) fullChargeThreshold
readwritenonatomicassign

Percent of capacity when battery is considered fully charged. Value between 0 and 1.

◆ minimumReserveThreshold

- (double) minimumReserveThreshold
readwritenonatomicassign

Percent of capacity which is never used for compute and should always be available. Value between 0 and 1.

◆ chargingCurve

- (NSArray<SYBatteryChargingData*>*) chargingCurve
readwritenonatomicstrong

Specifies how quickly the battery charges depending of the current charging state. Considered as valid when contains at least one value, otherwise ignored. Must be ordered from lowest to highest charging state. To predict the values inside the specified range, interpolation between the closest points will be used. To predict the values outside the specified range, the closest specified value will be used.


The documentation for this class was generated from the following file: