Skip to main content

SolarPanel

Inheritted classes

This component inherits classes. The following inherrited classes are:

A PowerComponent that generates power based on a rotational input.


Functions

getPower

SolarPanel.getPower()

Returns the total power output of the solar panel.

Returns:

  • [ number ] The total power output.

getUsedPower

SolarPanel.getUsedPower()

Returns the total power the output is using.

Returns:

  • [ number ] The total used power output.

getEfficiency

SolarPanel.getEfficiency()

Returns the power efficiency of the solar panel in percent.

Returns:

  • [ number ] The power efficiency.