Class in Zendir.Classes | Inherits from UniverseBehaviour
Declaration
class PowerMonitor;
Description
A power monitor is able to produce metrics from the power system
and allow for enabling and disabling of particular component powers.
Properties
| Declared | Description |
|---|
| FusesTripped | The number of fuses that are currently in a blown state on the EPS bus. |
| MaxLoadCurrent | Maximum current that passes over the loads. |
| NetCapacity | The total storage capacity of all storage units on the EPS bus. |
| NetPower | The net power state of the EPS bus. |
| NetPowerConsumed | The total power consumed by loads on the EPS bus. |
| NetPowerGenerated | The total power generated by loads on the EPS bus. |
| NetStorage | The total storage of all storage units on the EPS bus. |
| NumSwitches | The number of switches that exist in the EPS bus. |
| Out_PowerMonitorMsg | The message with updates about the current system |
| PowerBus | The connected bus that the monitor is watching |
| TotalFusesTripped | The total number of times fuses in the EPS bus have been tripped during the simulation. |
| Inherited | Description |
|---|
| IsEnabled | Is true if the object is currently enabled. |
| Name | The display name or tag of this object. |
| Parent | The currently attached parent object (if any). |
Methods
| Inherited | Description |
|---|
| Destroy | Removes the current object from the simulation. |
| FindParentWithID | Returns an attached parent that satisfies the specified ID. |
| FindParentWithType | Returns an attached parent that satisfies the specified type. |
| FindRootWithID | Returns a root object that satisfies the specified ID. |
| FindRootWithType | Returns a root object that satisfies the specified type. |