Class BatteryLeakageErrorModel
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
[Nominal] This class is able to perform a leakage rate on the battery that it is connected to, slowly depleting the battery over time.
[UniverseParent(typeof(Battery))]
public class BatteryLeakageErrorModel : UniverseModel
- Inheritance
-
BatteryLeakageErrorModel
Constructors
BatteryLeakageErrorModel()
Default constructor
protected BatteryLeakageErrorModel()
Fields
PowerLeakageRate
The leakage rate per second in Amp hours
[Unit("Ah/s")]
[Range(0, 1.7976931348623157E+308)]
public double PowerLeakageRate
Field Value
Methods
OnUpdate(double, double)
Called when the object should update from the simulation tick. This will take in a time and a step, where the time is the time of the clock before updating the object.
protected override void OnUpdate(double time, double step)