public class SolarRadiationWrench extends Parameterizable implements WrenchModel
RadiationWrenchSensitive
,
Serialized FormConstructor and Description |
---|
SolarRadiationWrench(double distance,
double pressure,
double sunRadius,
PVCoordinatesProvider sunBody,
BodyShape shape,
RadiationWrenchSensitive spacecraftModel)
Complete constructor.
|
SolarRadiationWrench(Parameter distance,
Parameter pressure,
Parameter sunRadius,
PVCoordinatesProvider sunBody,
BodyShape shape,
RadiationWrenchSensitive spacecraftModel)
Complete constructor using
Parameter . |
SolarRadiationWrench(PVCoordinatesProvider sunBody,
BodyShape shape,
RadiationWrenchSensitive spacecraftModel)
Simple constructor with default reference values.
|
Modifier and Type | Method and Description |
---|---|
protected double |
computeRawP(SpacecraftState s)
Compute radiation coefficient.
|
Vector3D |
computeTorque(SpacecraftState s)
Compute the resulting torque at the mass centre of the spacecraft in the frame of the main part.
|
Vector3D |
computeTorque(SpacecraftState s,
Vector3D origin,
Frame frame)
Compute the resulting wrench.
|
Wrench |
computeWrench(SpacecraftState s)
Compute the resulting wrench at the mass centre of the spacecraft in the frame of the main part.
|
Wrench |
computeWrench(SpacecraftState s,
Vector3D origin,
Frame frame)
Compute the resulting wrench.
|
protected Vector3D |
getSatSunVector(SpacecraftState state)
Compute sat-Sun vector in spacecraft state frame.
|
addAllParameters, addAllParameters, addParameter, getParameters, supportsParameter
public SolarRadiationWrench(PVCoordinatesProvider sunBody, BodyShape shape, RadiationWrenchSensitive spacecraftModel)
When this constructor is used, the reference values are:
sunBody
- Sun modelshape
- earth model (for umbra/penumbra computation)spacecraftModel
- the object physical and geometrical informationpublic SolarRadiationWrench(double distance, double pressure, double sunRadius, PVCoordinatesProvider sunBody, BodyShape shape, RadiationWrenchSensitive spacecraftModel)
Note that reference solar radiation pressure pRef
in N/m2 is linked to solar flux SF in
W/m2 using formula pRef = SF/c where c is the speed of light (299792458 m/s). So at 1UA a 1367
W/m2 solar flux is a 4.56 10-6 N/m2 solar radiation pressure.
distance
- reference distance for the solar radiation pressurepressure
- reference solar radiation pressure at dRefsunRadius
- reference sun radiussunBody
- Sun modelshape
- earth model (for umbra/penumbra computation)spacecraftModel
- the object physical and geometrical informationpublic SolarRadiationWrench(Parameter distance, Parameter pressure, Parameter sunRadius, PVCoordinatesProvider sunBody, BodyShape shape, RadiationWrenchSensitive spacecraftModel)
Parameter
.distance
- the parameter representing the reference distance for the solar radiation pressurepressure
- the parameter representing the reference solar radiation pressure at dRefsunRadius
- the parameter representing the reference sun radiussunBody
- Sun modelshape
- earth model (for umbra/penumbra computation)spacecraftModel
- the object physical and geometrical informationprotected Vector3D getSatSunVector(SpacecraftState state) throws PatriusException
state
- current spacecraft statePatriusException
- if sun position cannot be computedprotected double computeRawP(SpacecraftState s) throws PatriusException
s
- spacecraft statePatriusException
- if position cannot be computedpublic Wrench computeWrench(SpacecraftState s) throws PatriusException
computeWrench
in interface WrenchModel
s
- spacecraft statePatriusException
- if some error occurspublic Wrench computeWrench(SpacecraftState s, Vector3D origin, Frame frame) throws PatriusException
computeWrench
in interface WrenchModel
s
- spacecraft stateorigin
- point in which to express wrenchframe
- frame in which point is expressedPatriusException
- if some error occurspublic Vector3D computeTorque(SpacecraftState s) throws PatriusException
computeTorque
in interface WrenchModel
s
- spacecraft statePatriusException
- if some error occurspublic Vector3D computeTorque(SpacecraftState s, Vector3D origin, Frame frame) throws PatriusException
computeTorque
in interface WrenchModel
s
- spacecraft stateorigin
- point in which to express torqueframe
- frame in which point is expressedPatriusException
- if some error occursCopyright © 2023 CNES. All rights reserved.