Class BatteryMessage
- Namespace
- NominalSystems.Messages
- Assembly
- NominalSystems.Messages.dll
[Nominal] The Battery message will store information about a particular battery, including the current charge and the voltage of the system.
public sealed class BatteryMessage : Message
- Inheritance
-
BatteryMessage
Fields
Capacity
Capacity of the storage unit in amp-hours.
[Unit("Ah")]
public double Capacity
Field Value
ChargeFraction
A value between 0 and 1 for the fraction of charge stored.
[Unit(UnitType.NONE)]
public double ChargeFraction
Field Value
MaxChargeRate
The maximum current flow that can charge the storage unit.
[Unit(UnitType.AMPERE)]
public double MaxChargeRate
Field Value
MaxDischargeRate
The maximum current flow that leave the storage unit.
[Unit(UnitType.AMPERE)]
public double MaxDischargeRate
Field Value
NominalVoltage
The desired voltage that is produced from this storage unit.
[Unit(UnitType.VOLT)]
public double NominalVoltage