Multiple ImpulseManeuvers

Hey guys,

I’m trying to integrate 2 ImpulseManeuver into a Numerical Propagator. The end result is a visibility table, that is created via using the elevation detector.

Assuming the first Maneuver takes place at a date 4 hours later than the initial Date, then the elevation detector events should stay the same until initDate + 4 hours. Unfortunately, they’re similar, but not the same (30-60secs deviation).
I guess that the error occurs because you have to propagate those impulseManeuvers, before propagating for the elevation detector.

So there is 2 error scenarios:

  1. I propagate the first impulse maneuver from its ignition date to another date in the future. Problem: The impulse maneuver isn’t listed in further lists, because it seems like it wasn’t added to the propagator.

  2. I propagate the first impulse maneuver from the initial Date to another date in the future. Problem: The visibility table says something else for the first 4 hours after initial Date, although no impulse maneuver took place.

My intuitive solution was to propagate form ignitionDate.shiftedBy(-1.0sec). So that both scenarios are fulfilled, but when propagating with that date, it’s the same like in error Nr. 2.

Do you have any idea on what could be the mistake?
Thanks in advance!

Max

Hey,

if this issue is not known, maybe there was a mistake made by myself that I didn’t explain. Whatever, this is just as basic question:

Is it possible to set up a numerical propagator, then add multiple ImpulseManeuvers via addEventDetector, and get the visibility events via using the elevation detector JUST at the end?
Somehow I can’t get it running.

Cheers

This should be possible, you can add as many maneuvers as you want and they are processed in order.
Beware that impulse maneuvers do reset the state and propagators also change the state at end of propagation, so if you do several propagations using the same propagator, this may be confusing.