tudat-team / tudat

A C++ platform to perform astrodynamics and space research.
BSD 3-Clause "New" or "Revised" License
17 stars 28 forks source link

Add capability to extract irradiance on celestial body due to sun #235

Open adrian-ehrenberger opened 2 months ago

adrian-ehrenberger commented 2 months ago

The new radiation pressure features added in Dominic's pull request https://github.com/tudat-team/tudat/pull/220 added the capability to obtain the irradiance recieved by the vehicle that is being porpagated from every panel of a celestial body.

For example, one can obtain the irradance recieved from every panel from the Moon for the vehicle using the following python code:

propagation_setup.dependent_variable.radiation_pressure_source_panel_irradiance("vehicle", "Moon")

However currently one cannot obtain the irradiance recived by the Moon due to the Sun. Which could be extracted using something simliar to:

propagation_setup.dependent_variable.radiation_pressure_source_panel_irradiance("Moon", "Sun")