Hi,
I’m trying to add a constant-thrust maneuver to my CR3BP propagator, which I built using Orekit’s CR3BP package. However, the maneuver doesn’t seem to have any effect on the trajectory. I’m not sure whether I implemented it incorrectly or whether the CR3BP package doesn’t support this type of maneuver in the way I’m using it. In the code I am currently normalizing all the units, and working in the barycenter rotating frame.
Here’s the relevant code snippet:
maneuver = ConstantThrustManeuver(
initialEpoch, # AbsoluteDate start time
duration_s, # duration (TU)
thrust_N*TU**2/DU, # thrust (kg DU/TU^2)
isp_s/TU, # Isp (TU)
lof, # attitude provider
Vector3D.PLUS_I) # negative thrust direction in TNW frame (1, 0, 0)
# Attach maneuver to propagator
cr3bProp, _ = CR3BPropagator(
initialState=initialState,
cr3bpSystem=cr3bpSystem
)
cr3bProp.addForceModel(maneuver)
# Propagate backward in time with thrust using fixed-step handler
handler = MyFixedHandler(timeStep=500.0 / TU)
cr3bProp.getMultiplexer().add(handler.TimeStep, handler)
# Propagate backward in time
finalStateAfterThrust = cr3bProp.propagate(
initialEpoch.shiftedBy(-duration_s)
)
Any help would be appreciated! Thank you!