Table of Contents

Class SolarRadiationPressure

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

Solar radiation pressure model

public class SolarRadiationPressure : DynamicEffector
Inheritance
SolarRadiationPressure
Inherited Members

Constructors

SolarRadiationPressure()

Base constructor reset the forces

public SolarRadiationPressure()

Fields

Area

[m] The Body Surface Area

[EditableVariable("m", 0, false, "", "")]
public double Area

Field Value

double

CoefficientReflection

[-] Factor grouping the surface optical properties

[EditableVariable("-", 0, false, "", "")]
public double CoefficientReflection

Field Value

double

In_EclipseMsg

Reference to the Eclipse input message

public EclipseMessage In_EclipseMsg

Field Value

EclipseMessage

In_SunSpicePlanetStateMsg

Reference to the Sun State simulation message

public SpicePlanetStateMessage In_SunSpicePlanetStateMsg

Field Value

SpicePlanetStateMessage

LookUpForce_B

[N] Lookup table for body frame force

public List<Vector3> LookUpForce_B

Field Value

List<Vector3>

LookUpTorque_B

[Nm] Lookup table for body frame torque

public List<Vector3> LookUpTorque_B

Field Value

List<Vector3>

LookupSHat_B

[-] Lookup table for sun pointing vector in body frame

public List<Vector3> LookupSHat_B

Field Value

List<Vector3>

ModelType

Solar radiation pressure model type

[EditableVariable("-", true, "", "")]
public AnalysisModelType ModelType

Field Value

AnalysisModelType

Visibility

[-] The Scaling parameter from 0 (fully obscured) to 1 (fully visible)

[EditableVariable("m", true, "", "")]
public double Visibility

Field Value

double

Methods

AddLookupTableEntry(Vector3, Vector3, Vector3)

Adds an individual row entry to the lookup table data.

public void AddLookupTableEntry(Vector3 sHat_B, Vector3 force_B, Vector3 torque_B)

Parameters

sHat_B Vector3

Sun pointing vector

force_B Vector3

Force vector

torque_B Vector3

Body torque vector

ComputeForceTorque(double)

Method to computeForce and torque on the body

public override void ComputeForceTorque(double time)

Parameters

time double

integrator time

LinkInStates(StateProperties)

This method is used to link the states to the thrusters

public override void LinkInStates(StateProperties properties)

Parameters

properties StateProperties

The states to link

OnBegin(double)

Called when the 'Component' is beginning

protected override void OnBegin(double time)

Parameters

time double

current time (seconds)

OnReset(double)

Called when the 'Component' is reset from a simulation

protected override void OnReset(double time)

Parameters

time double

reset 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)

ReadInputs()

Reads inputs from messages and stores them in variables

protected override void ReadInputs()

SetUseFixedDragModel()

Enables the fixed drag model

public void SetUseFixedDragModel()

SetUseLookUpTableModel()

Enables the lookup table model

public void SetUseLookUpTableModel()