Table of Contents

Class SolarRadiationPressure

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

[Nominal] The solar radiation pressure module is able to create a force and torque on the spacecraft based on the effect of solar radiation on the particular object.


public class SolarRadiationPressure : DynamicEffector
Inheritance
SolarRadiationPressure

Constructors

SolarRadiationPressure()

Default constructor

protected SolarRadiationPressure()

Fields

FilePath

Filename for the lookup table if it exists

[ReadOnly]
public string FilePath

Field Value

string

In_EclipseMsg

A reference to the current eclipse message from the solar model

public EclipseMessage? In_EclipseMsg

Field Value

EclipseMessage

In_SunPlanetStateMsg

Reference to the Sun State simulation message

public PlanetStateMessage? In_SunPlanetStateMsg

Field Value

PlanetStateMessage

ModelType

Solar radiation pressure model type

[Unit(UnitType.NONE)]
[ReadOnly]
public AnalysisModelType ModelType

Field Value

AnalysisModelType

ProjectedArea

Area of spacecraft projected in velocity direction

[Unit(UnitType.SQUARE_METRE)]
[Range(0, 1.7976931348623157E+308)]
public double ProjectedArea

Field Value

double

ReflectionCoefficient

Factor grouping the surface optical properties

[Unit(UnitType.NONE)]
[Range(0, 1.7976931348623157E+308)]
public double ReflectionCoefficient

Field Value

double

Methods

ComputeDynamics(double)

Method to compute the force and torque on the body. This will be triggered by the spacecraft on an Update call.

public override void ComputeDynamics(double time)

Parameters

time double

[s] The current integration time

LinkStateProperties(StateModel)

Links and registers any of the states from the state model that is associated with the root object.

public override void LinkStateProperties(StateModel properties)

Parameters

properties StateModel

The model that contains the list of states to fetch

LoadLookup(string)

Loads the solar radiation pressure effector model from a CSV file and stores the data in the model. This will be able to use a lookup based on some parameter that is configured.

public void LoadLookup(string filePath)

Parameters

filePath string

The full file path to the particular lookup table

OnCreate()

Called when the 'Component' is created from the controller.

protected override void OnCreate()

OnLoad(double)

Called after all of the data has been loaded from a save state on this object. This enables any post-load operations to be performed and extra data to be loaded from the metadata.

protected override void OnLoad(double time)

Parameters

time double

[s] The current clock time of the simulation