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

DeclaredDescription
FusesTrippedThe number of fuses that are currently in a blown state on the EPS bus.
MaxLoadCurrentMaximum current that passes over the loads.
NetCapacityThe total storage capacity of all storage units on the EPS bus.
NetPowerThe net power state of the EPS bus.
NetPowerConsumedThe total power consumed by loads on the EPS bus.
NetPowerGeneratedThe total power generated by loads on the EPS bus.
NetStorageThe total storage of all storage units on the EPS bus.
NumSwitchesThe number of switches that exist in the EPS bus.
Out_PowerMonitorMsgThe message with updates about the current system
PowerBusThe connected bus that the monitor is watching
TotalFusesTrippedThe total number of times fuses in the EPS bus have been tripped during the simulation.
InheritedDescription
IsEnabledIs true if the object is currently enabled.
NameThe display name or tag of this object.
ParentThe currently attached parent object (if any).

Methods

InheritedDescription
DestroyRemoves the current object from the simulation.
FindParentWithIDReturns an attached parent that satisfies the specified ID.
FindParentWithTypeReturns an attached parent that satisfies the specified type.
FindRootWithIDReturns a root object that satisfies the specified ID.
FindRootWithTypeReturns a root object that satisfies the specified type.