Table of Contents

Class SolarPanel

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

[Nominal] A solar panel is able to produce power from receiving sunlight from the sun and other sources (such as Albedo).

public class SolarPanel : PowerSource, IPowerAttachment
Inheritance
SolarPanel
Implements
Inherited Members

Constructors

SolarPanel()

Construct a simple solar panel

public SolarPanel()

Fields

In_EclipseMsg

A incoming Eclipse message

public EclipseMessage In_EclipseMsg

Field Value

EclipseMessage

In_SunStatesMsg

A incoming spice planet state message for the sun

public SpicePlanetStateMessage In_SunStatesMsg

Field Value

SpicePlanetStateMessage

Properties

Area

[m^2] The Area of the solar panel

[EditableVariable("m^2", 0, false, "", "")]
public double Area { get; set; }

Property Value

double

Efficiency

[-] Sun to Power efficiency

[EditableVariable("-", 0, 1, false, "", "")]
public double Efficiency { get; set; }

Property Value

double

ProjectedArea

[m^2] Sun projected area on panel

[EditableVariable("m^2", true, "", "")]
public double ProjectedArea { get; }

Property Value

double

RelativeNormal

[-] Face normal relative to spacecraft

[EditableVariable("-", true, "", "")]
public Vector3 RelativeNormal { get; }

Property Value

Vector3

ShadowFactor

[-] Shadow factor on the panel from other non-Celestial sources

[EditableVariable("-", true, "", "")]
public double ShadowFactor { get; set; }

Property Value

double

VisibilityFactor

[-] Sun shadow factor on panel due to Eclipses

[EditableVariable("-", true, "", "")]
public double VisibilityFactor { get; }

Property Value

double

Methods

OnBegin(double)

Called when the 'Component' is beginning

protected override void OnBegin(double time)

Parameters

time double

current time (seconds)

OnUpdate(double, double)

Called when the 'Component' should update

protected override void OnUpdate(double time, double step)

Parameters

time double

current time (seconds)

step double

the time step (seconds)