From 06fb9fa4b9997aa04750398c57cb2d1a4a67f9d8 Mon Sep 17 00:00:00 2001 From: Giovanni Facchinetti Date: Fri, 17 Nov 2023 13:29:25 +0100 Subject: [PATCH] The note of the runtime parameter selection is now correct --- cascade.py/dynamics/_simple_earth.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cascade.py/dynamics/_simple_earth.py b/cascade.py/dynamics/_simple_earth.py index 82281de..ca123eb 100644 --- a/cascade.py/dynamics/_simple_earth.py +++ b/cascade.py/dynamics/_simple_earth.py @@ -74,8 +74,9 @@ def simple_earth( .. note:: If *drag* is active, the BSTAR coefficient (SI units) of the object must be passed as a first - simulation parameter in :class:`~cascade.sim`, if *SRP* is active, the object area (SI units) must be also passed as a - simulation parameter (after BSTAR if present). + simulation parameter in :class:`~cascade.sim`, if *SRP* is active, the term Cr*AOM (SI units) must be also passed as a + simulation parameter (after BSTAR if present), being Cr the coefficient of reflectivity of the spacecraft and AOM the + area-to-mass-ratio. Args: @@ -254,6 +255,7 @@ def simple_earth( Fm = phi_mp + phi_ma + phi_ms + (np.pi / 180) * 93.27283 Dm = phi_mp + phi_ma - phi_m + (np.pi / 180) * 297.85027 + # Careful, here we multiply by 1000 as the units are meters and not km as in the original paper where the eqs were presented. rm = ( 385000 - 20905 * hy.cos(lm)