-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overflow error #28
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When running a stats model every few (approx 1/10) models gives an error like:
/home/jago/CamPyRoS/campyros/main.py:457: RuntimeWarning:overflow encountered in multiply
This line calculates the parachute force:
CamPyRoS/campyros/main.py
Line 457 in 2ba4858
I have also seen 'invalid division' errors from this line too so suspect that the issue is occurring when
air_speed
is close to zero.To Reproduce
So far I do not know what particular combination of rail angles, wind etc. result in this situation occurring but it should not be hard to investigate. Logging parachute forces and initial conditions would hopefully show a pattern.
Expected behavior
We should never have a situation where we have near 'infinite' parachute force. I suspect that the error is occurring in intermediate time steps which will be thrown away by the integrator (the integrator attempts to minimise the timesteps and in doing so calculates intermediaries which it then checks are not too different from the previous step, otherwise it throws them away). If this is the case then we don't really have a problem, otherwise we have a major one.
Setup
Stock install
The text was updated successfully, but these errors were encountered: