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
In_SunStatesMsg
A incoming spice planet state message for the sun
public SpicePlanetStateMessage In_SunStatesMsg
Field Value
Properties
Area
[m^2] The Area of the solar panel
[EditableVariable("m^2", 0, false, "", "")]
public double Area { get; set; }
Property Value
Efficiency
[-] Sun to Power efficiency
[EditableVariable("-", 0, 1, false, "", "")]
public double Efficiency { get; set; }
Property Value
ProjectedArea
[m^2] Sun projected area on panel
[EditableVariable("m^2", true, "", "")]
public double ProjectedArea { get; }
Property Value
RelativeNormal
[-] Face normal relative to spacecraft
[EditableVariable("-", true, "", "")]
public Vector3 RelativeNormal { get; }
Property Value
ShadowFactor
[-] Shadow factor on the panel from other non-Celestial sources
[EditableVariable("-", true, "", "")]
public double ShadowFactor { get; set; }
Property Value
VisibilityFactor
[-] Sun shadow factor on panel due to Eclipses
[EditableVariable("-", true, "", "")]
public double VisibilityFactor { get; }
Property Value
Methods
OnBegin(double)
Called when the 'Component' is beginning
protected override void OnBegin(double time)
Parameters
time
doublecurrent time (seconds)
OnUpdate(double, double)
Called when the 'Component' should update
protected override void OnUpdate(double time, double step)