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
CoefficientReflection
[-] Factor grouping the surface optical properties
[EditableVariable("-", 0, false, "", "")]
public double CoefficientReflection
Field Value
In_EclipseMsg
Reference to the Eclipse input message
public EclipseMessage In_EclipseMsg
Field Value
In_SunSpicePlanetStateMsg
Reference to the Sun State simulation message
public SpicePlanetStateMessage In_SunSpicePlanetStateMsg
Field Value
LookUpForce_B
[N] Lookup table for body frame force
public List<Vector3> LookUpForce_B
Field Value
LookUpTorque_B
[Nm] Lookup table for body frame torque
public List<Vector3> LookUpTorque_B
Field Value
LookupSHat_B
[-] Lookup table for sun pointing vector in body frame
public List<Vector3> LookupSHat_B
Field Value
ModelType
Solar radiation pressure model type
[EditableVariable("-", true, "", "")]
public AnalysisModelType ModelType
Field Value
Visibility
[-] The Scaling parameter from 0 (fully obscured) to 1 (fully visible)
[EditableVariable("m", true, "", "")]
public double Visibility
Field Value
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
ComputeForceTorque(double)
Method to computeForce and torque on the body
public override void ComputeForceTorque(double time)
Parameters
time
doubleintegrator time
LinkInStates(StateProperties)
This method is used to link the states to the thrusters
public override void LinkInStates(StateProperties properties)
Parameters
properties
StatePropertiesThe states to link
OnBegin(double)
Called when the 'Component' is beginning
protected override void OnBegin(double time)
Parameters
time
doublecurrent time (seconds)
OnReset(double)
Called when the 'Component' is reset from a simulation
protected override void OnReset(double time)
Parameters
time
doublereset time (seconds)
OnUpdate(double, double)
Called when the 'Component' should update
protected override void OnUpdate(double time, double step)
Parameters
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()