Description

A power monitor is able to produce metrics from the Power Bus and allow for enabling and disabling of particular power components on the network based on these metrics. The power monitor must be connected to a particular power bus but may be changed throughout a simulation and could begin monitoring alternative buses. It does not need to be connected in a network, as it does not change the properties of the network itself.


Example Use Cases

  • Network Monitoring: Monitor a power network for failures and timestamping when the failures occurred.

Module Implementation

The power monitor, attached to a power bus finds all the valid nodes on the network and calculates the total power consumed, Net Power Consumed, by all nodes on the network. It calculates this with:

for the total power and the nodal power . If the current input for the node is greater than the maximum load current, the maximum load current is adjusted to store the maximum current from the nodes on the network.

The net power generated Net Power Generated is calculated by the sum of all power sources attached to the network and summing the power outputted to the network. The net power Net Power is calculated as the difference between the two:

Additionally, the storage and capacity from the battery are logged on the power monitor components too. Finally, the number of blown fuses are logged for stats on where the fuses are blown.

As a network can also contain multiple Batteries, the power monitor also stores the total storage and capacity from the batteries within the circuit. These are stored in the Net Storage and Net Capacity variables respectively. The number of Power Fuses tripped Fuses Tripped for the current simulation tick and the total number of times fuses have tripped, Total Fuses Tripped are also tracked. The number of Power Switches Num Switches in the monitored Power Buss is also available information.


Assumptions/Limitations

  • The metrics are currently limited on the power monitor. For more sophisticated metrics, additional customization needs to be made to this component.