Table of Contents

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

double

ChargeFraction

A value between 0 and 1 for the fraction of charge stored.

[Unit(UnitType.NONE)]
public double ChargeFraction

Field Value

double

MaxChargeRate

The maximum current flow that can charge the storage unit.

[Unit(UnitType.AMPERE)]
public double MaxChargeRate

Field Value

double

MaxDischargeRate

The maximum current flow that leave the storage unit.

[Unit(UnitType.AMPERE)]
public double MaxDischargeRate

Field Value

double

NominalVoltage

The desired voltage that is produced from this storage unit.

[Unit(UnitType.VOLT)]
public double NominalVoltage

Field Value

double