ppsBattery class

The battery.

Constructors

ppsBattery(List<int> bytes)
factory

Properties

CAPACITY_WH → double
Usable capacity, Wh; 0 = from BUS_SPECIFICATION.BATTERY_CAPACITY, else the simulator's default.
no setter
capacityWh → double
no setter
CHARGE_EFFICIENCY → double
Charge and discharge efficiency, 0-1; 0 = 1.
no setter
chargeEfficiency → double
no setter
DISCHARGE_EFFICIENCY → double
no setter
dischargeEfficiency → double
no setter
hashCode → int
The hash code for this object.
no setterinherited
INITIAL_STATE_OF_CHARGE → double
State of charge at the start, 0-1; NaN = the simulator's default.
no setter
initialStateOfCharge → double
no setter
MIN_STATE_OF_CHARGE → double
Lowest state of charge allowed, 0-1; 0 = none.
no setter
minStateOfCharge → double
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

reader → const Reader<ppsBattery>