Skip to content
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

examples/ex1.html fails: RuntimeWarning: invalid value encountered in double_scalars #147

Open
yurivict opened this issue Feb 28, 2021 · 0 comments

Comments

@yurivict
Copy link

https://esa.github.io/pykep/examples/ex1.html

Exit condition -- ftol < 1e-06
/usr/local/lib/python3.7/site-packages/pykep/trajopt/_pl2pl_N_impulses.py:192: RuntimeWarning: invalid value encountered in double_scalars
  DV_list = [s / maxDV * 30 for s in DV_list]
/usr/local/lib/python3.7/site-packages/pykep/trajopt/_pl2pl_N_impulses.py:228: RuntimeWarning: divide by zero encountered in double_scalars
  color='k', s=min(DV1 / maxDV * 30, 40))
/usr/local/lib/python3.7/site-packages/pykep/trajopt/_pl2pl_N_impulses.py:230: RuntimeWarning: divide by zero encountered in double_scalars
  r_target[2] / AU, color='k', s=min(DV2 / maxDV * 30, 40))
/usr/local/lib/python3.7/site-packages/pykep/trajopt/_pl2pl_N_impulses.py:192: RuntimeWarning: invalid value encountered in double_scalars
  DV_list = [s / maxDV * 30 for s in DV_list]
/usr/local/lib/python3.7/site-packages/pykep/trajopt/_pl2pl_N_impulses.py:228: RuntimeWarning: divide by zero encountered in double_scalars
  color='k', s=min(DV1 / maxDV * 30, 40))
/usr/local/lib/python3.7/site-packages/pykep/trajopt/_pl2pl_N_impulses.py:230: RuntimeWarning: divide by zero encountered in double_scalars
  r_target[2] / AU, color='k', s=min(DV2 / maxDV * 30, 40))
/usr/local/lib/python3.7/site-packages/pykep/trajopt/_pl2pl_N_impulses.py:192: RuntimeWarning: invalid value encountered in double_scalars
  DV_list = [s / maxDV * 30 for s in DV_list]
/usr/local/lib/python3.7/site-packages/pykep/trajopt/_pl2pl_N_impulses.py:228: RuntimeWarning: divide by zero encountered in double_scalars
  color='k', s=min(DV1 / maxDV * 30, 40))
/usr/local/lib/python3.7/site-packages/pykep/trajopt/_pl2pl_N_impulses.py:230: RuntimeWarning: divide by zero encountered in double_scalars
  r_target[2] / AU, color='k', s=min(DV2 / maxDV * 30, 40))
Total DV (m/s):  6195.987224252753
Dvs (m/s):  [0.0, 3477.677263059147, 2718.3099611936054]
Tofs (days):  [340.93538876143396, 165.39809089531414]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant