I am currently trying to add drag forces to a propagator but I keep running into some errors.
First of all, I tried this:
atm = DSSTAtmosphericDrag.getAtmosphere() area = DSSTAtmosphericDrag.getArea() cd = DSSTAtmosphericDrag.getCd() scr = SphericalSpacecraft(area, cd, 0., 0.) drag = DragForce(atm, scr) propagator.addForceModel(DSSTAtmosphericDrag)
However, received this error:
ModuleNotFoundError: No module named 'org.orekit.forces.SphericalSpacecraft'; 'org.orekit.forces' is not a package
I also tried:
avg = drag.MarshallSolarActivityFutureEstimation.StrengthLevel.AVERAGE sflux = drag.MarshallSolarActivityFutureEstimation("Jun2016F10.txt", avg) atmosphere = drag.DTM2000(sflux, sun, earthBody) dragForce = drag.DragForce(atmosphere, satmodel)
but then received this error:
AttributeError: module 'org.orekit.forces.drag' has no attribute 'MarshallSolarActivityFutureEstimation'
If anyone is able to offer an insight on these issues, or on how to add an drag model to a propagator it would be greatly appreciated!