Giter Club home page Giter Club logo

revhack2020's Introduction

OpenMDAO RevHack 2020

RevHack is a reverse hackathon where the OM users propose problems to be solved and then the dev team tries to solve them! The primary dev team goal is to gain a better understanding of the use cases that users are struggling with, and to learn to see our framework through your eyes.

What you get out of it is two-fold:

  1. We solves some problems for you
  2. We go into detail about our thought process and justifications for how we solved them, so you can learn something about how we see things.

Problem Solutions

The ones we finished

The ones we didn't get to

  • OpenAeroStruct+Dymos for aircraft trajectory optimization
  • Integrate an OpenAeroStruct analysis into a Dymos trajectory analysis model (@shamsheersc19)

General solution approaches:

Over the course of solving the problems we noticed a few general themes that were worth discussing in more detail. These topics involve general model building practices and concepts, and don't deal with specific solutions.

revhack2020's People

Contributors

achase90 avatar dkilkenny avatar hschilling avatar johnjasa avatar justinsgray avatar kenneth-t-moore avatar relf avatar robfalck avatar shamsheersc19 avatar swryan avatar tadkollar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

revhack2020's Issues

EVTOL - Problem setup

Pull content into correct folder.

Add some structure to readme to describe three different solution methods.

add sub-folders for each solution

Nested Opt - Problem Formulation

update the readme with plan of attack, include clearer descriptions of physics.

add some simple code examples for nested problems into the solution_approach folder.

CMA-ES Problem Definition

pull content into the right folder.

Go to this site:
https://github.com/CMA-ES/pycma

Grab some sample problems from their docs,

Write up the problems into the readme file, with OpenMDAO models as the execution code.

Use CMA-ES apis to solve the problems.

EVTOL dymos-collocation vectorized method wrong results

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.