As detailed in this answer low thrust optimization is subject of ongoing research. There are a few closed-loop control laws which allow to achieve a locally optimal (but close to globally optimal) transfer solutions between two orbits. Petropoulos, Naasz and Ruggiero have defined such control laws (and possibly others). The Ruggiero laws (1) are relatively simple in their implementation and have been shown to lead to almost identical results for fuel optimal and time optimal transfers the Petropoulos laws (2).
Applying the locally optimal control laws of Ruggiero or Naasz for LEO transfers works like a charm in two body dynamics or with non periodic perturbations (such as Sun gravity). This has been shown in their respective papers and many have demonstrated this in software libraries (including in my own).
However, as soon as periodic dynamics are added to the propagated dynamics (specifically J2 in addition to two-body dynamics in as point-masses), the osculating orbital elements start to oscillate, causing these control laws to oscillate as well, and preventing them from converging in a reasonable time span.
How to use these control laws with higher fidelity dynamics such that they converge in a reasonable transfer time? I've tried computing the osculating orbital elements only at given spots in the orbit (true anomaly of zero, 45, 90, 270 degrees) but that doesn't help. Moreover, I'm concerned about using the Brouwer Mean orbital elements as these only smooth away the effects of J2: I assume that the control laws will start failing again once I enable spherical harmonics.
Follow-up question: Has anyone used the Eckstein Ustinov orbital element set developed in Spiridonova et al. 2014 for low thrust transfers?
(1) Ruggiero, A., P. Pergola, S. Marcuccio, and M. Andrenucci. "Low-thrust maneuvers for the efficient correction of orbital elements." In 32nd International Electric Propulsion Conference, pp. 11-15. 2011. (2) Rabotin C. "Feasibility of Reusable Continuous Thrust Spacecraft for Cargo Resupply Missions to Mars" (2017). Aerospace Engineering Sciences Graduate Theses & Dissertations. link