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

EVTOL dymos-collocation vectorized method wrong results #70

Open
ShuanTai418 opened this issue Aug 4, 2022 · 1 comment
Open

EVTOL dymos-collocation vectorized method wrong results #70

ShuanTai418 opened this issue Aug 4, 2022 · 1 comment

Comments

@ShuanTai418
Copy link

To whom it may concern,

I ran the code evtol_dymos_vectorized.py in RevHack2020/problems/evtol_trajectory/evtol_dymos, then plot the results.
I download the code directly from github, and did not modify it.
However, the plots (below) I got did not seem to be matched with the plots showing in README.md

results

When I ran evtol_dymos.py, the plot (below) is similar to the plot showing in README.md

results

I also ran evtol_dymos_vectorized_shooting.py & evtol_dymos_shooting.py, but there was a error showing
"ValueError: Value (True) of option 'solve_segments' is not one of (False, 'forward', 'backward')." (line 59)

I used IPOPT for my optimizer.
I am wondering if there was something wrong with my environment or the code itself?

Thank you for your time and assistance.

Here is the environment I used
python 3.9.13
openmdao 3.18.0
dymos 1.5.1.dev0
IPOPT 3.14.8
numpy 1.22.4
matplotlib 3.5.2

@robfalck
Copy link
Contributor

robfalck commented Aug 5, 2022

Will take a look, thanks for bringing this to our attention

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

2 participants