Class in Zendir.Messages | Inherits from Message

Declaration

class BatteryMessage;

Description

The Battery message will store information about a particular battery, including the current charge and the voltage of the system.


Properties

DeclaredDescription
ChargeFractionA value between 0 and 1 for the fraction of charge stored.
MaxChargeCurrentThe maximum current flow that can charge the storage unit. Note it doesn’t limit the charge current.
MaxDischargeCurrentThe maximum current flow that leave the storage unit. Note it doesn’t limit the discharge current.
NominalCapacityThe NominalCapacity of the storage unit in amp-hours.
NominalVoltageThe desired voltage that is produced from this storage unit.
StateOfHealthThe State of Health of the battery, a value between 0 and 1.
TimeToRechargeThe estimated time in seconds until the battery is fully recharged (ChargeFraction = 1).Returns 0 if already full, or double.PositiveInfinity if not charging.