[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orekit Developers] Error in eventdetector / BrentSolver?



Hi,

I haven't been able to trace this error down to it's details, so sorry for not proving an short error example (yet). I'm propagating an SSO orbit (EcksteinHeckler) with an event detector on node and one on elevation. For some scenarios this runs completely fine, but some other configurations I get an error. Changing parameters on eventdetector threshold and maxcheck seems to solve it sometimes. 

I am using orekit 6.0 + apache math 3.2 (wrapped and ran via python).

My impression is that this is something related to the BrentSolver in math. I've found this solved issue:
https://issues.apache.org/jira/browse/MATH-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Any experiences wtih this?

Many thanks & Best Regards
/Petrus



JavaError: org.orekit.errors.PropagationException: function values at endpoints do not have different signs, endpoints: [9, 119,986], values: [-0, -0,033]

Java stacktrace:

org.orekit.errors.PropagationException: function values at endpoints do not have different signs, endpoints: [9, 119,986], values: [-0, -0,033]

at org.orekit.errors.PropagationException.unwrap(PropagationException.java:108)

at org.orekit.propagation.analytical.AbstractAnalyticalPropagator.propagate(AbstractAnalyticalPropagator.java:185)

at org.orekit.propagation.AbstractPropagator.propagate(AbstractPropagator.java:256)

Caused by: org.apache.commons.math3.exception.NoBracketingException: function values at endpoints do not have different signs, endpoints: [9, 119,986], values: [-0, -0,033]

at org.apache.commons.math3.analysis.solvers.BrentSolver.doSolve(BrentSolver.java:123)

at org.apache.commons.math3.analysis.solvers.BaseAbstractUnivariateSolver.solve(BaseAbstractUnivariateSolver.java:196)

at org.apache.commons.math3.analysis.solvers.BaseAbstractUnivariateSolver.solve(BaseAbstractUnivariateSolver.java:201)

at org.orekit.propagation.events.EventState.evaluateStep(EventState.java:195)

at org.orekit.propagation.analytical.AbstractAnalyticalPropagator.acceptStep(AbstractAnalyticalPropagator.java:278)

at org.orekit.propagation.analytical.AbstractAnalyticalPropagator.propagate(AbstractAnalyticalPropagator.java:169)

... 1 more

org.orekit.propagation.analytical.EcksteinHechlerPropagator


--
_____________________________________________
Petrus Hyvönen, Uppsala, Sweden
Mobile Phone/SMS:+46 73 803 19 00