Table of Contents

Editor: Power Error Models

Description

Component models are specific classes that can be added to base components that provide additional functionality or errors on the model data. Within the power components, several component models can be added to the power nodes. Each of the models can be added by using a Configure function on the component reference. The Is Enabled field will turn on and off the model from functioning and if disabled, the component model will provide no additional functionality. Additionally, only one model of each type can be added to a component. Attempting to configure the model multiple times will just override the data.


Leakage Model (Power Storage)

The battery leakage model allows for a constant leakage rate over time, depleting the battery by a constant amount in \(\mathrm{Ah/s}\). While enabled, the battery will leak by this amount. This will contribute a negative source to the battery and will be added to the power input.

Untitled

The leakage model can also be updated on the Tick event, rather than fixed at the beginning of the simulation. This can be done by performing some kind of customized functionality and updating the power leakage rate appropriately. For example, to update the leakage rate based on a sine wave, the following code could be added to the Tick event in the blueprint:

Untitled


Degradation Model (Solar Panel)

The solar panel degradation model slowly degrades the efficiency of the solar panel by a set amount over the simulation. The degradation rate is in units of \(\mathrm{\%/year}\), where the efficiency of the solar panel will slowly decrease over time. This degradation is constant and the efficiency decrease is linear.

Untitled


Unsteady Model (Power Source)

The unsteady power model, which can be added to a generic power source (including solar panels), can affect the power output over time. The model simulates a faulty connection at the power source output. This will turn on and off the power produced based on a Gaussian distribution. The distribution parameters can be configured with the Unsteady Std, being the standard deviation in seconds, and the Unsteady Mean, being the mean value in seconds. Once the power is disabled, the same configuration of time will result in the power being produced again. The Sleep Time defines the initial time in which the power being produced will be disabled.

Untitled