SRP¶
Solar radiation pressure and eclipse shadow models.
Provides the acceleration due to solar radiation pressure (SRP) and two shadow models — conical and cylindrical — for determining whether a spacecraft is illuminated by the Sun.
All inputs and outputs use SI base units (metres, metres/second squared, N/m^2).
References
- O. Montenbruck and E. Gill, Satellite Orbits: Models, Methods and Applications, 2012.
accel_srp(r_object, r_sun, mass, cr, area, p0)
¶
Acceleration due to solar radiation pressure.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
r_object
|
ArrayLike
|
Position of the object [m]. Shape |
required |
r_sun
|
ArrayLike
|
Position of the Sun [m]. Shape |
required |
mass
|
float
|
Spacecraft mass [kg]. |
required |
cr
|
float
|
Coefficient of reflectivity [dimensionless]. |
required |
area
|
float
|
Sun-facing cross-sectional area [m^2]. |
required |
p0
|
float
|
Solar radiation pressure at 1 AU [N/m^2]. |
required |
Returns:
| Type | Description |
|---|---|
Array
|
SRP acceleration [m/s^2], shape |
Examples:
eclipse_conical(r_object, r_sun)
¶
Illumination fraction using the conical shadow model.
Computes the fraction of the Sun's disk visible to the spacecraft, accounting for partial eclipses (penumbra).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
r_object
|
ArrayLike
|
Position of the object in ECI [m]. Shape |
required |
r_sun
|
ArrayLike
|
Position of the Sun in ECI [m]. Shape |
required |
Returns:
| Type | Description |
|---|---|
Array
|
Illumination fraction (scalar). 0.0 = full shadow, 1.0 = full illumination. |
Examples:
eclipse_cylindrical(r_object, r_sun)
¶
Illumination fraction using the cylindrical shadow model.
A simpler shadow model that treats Earth's shadow as a cylinder aligned with the Sun direction. Returns 0.0 (shadow) or 1.0 (illuminated) with no penumbra.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
r_object
|
ArrayLike
|
Position of the object in ECI [m]. Shape |
required |
r_sun
|
ArrayLike
|
Position of the Sun in ECI [m]. Shape |
required |
Returns:
| Type | Description |
|---|---|
Array
|
Illumination fraction (scalar), 0.0 or 1.0. |
Examples: