Questions tagged [openmdao]

a Python-based, open-source, multidisciplinary optimization framework with support for analytic derivatives and distributed HPC computing

OpenMDAO is a Python-based open-source multidisciplinary design, analysis, and optimization (MDAO) framework which specializes in large-scale problems requiring parallel execution, distributed memory, and complex problem formulations.

OpenMDAO has been used to solve a number of interesting design problems, including optimization of a cubesat platform (CADRE) (paper), wind turbine and wind farm design (paper), aircraft trajectory optimization, and turbomachinery design for jet engines (paper).

The OpenMDAO project is managed by a development team at the NASA John H. Glenn Research Center in Cleveland OH.

For more information, visit our site at http://openmdao.org.

For documentation, see http://openmdao.org/docs.

Our code base is hosted at Github: http://github.com/OpenMDAO/OpenMDAO-Framework

516 questions
2
votes
2 answers

Dymos: How can I set object to minimize a function value of state variables at the end of simulation time

I want to use Dymos to solve the optimal control problem: enter image description here subject to the dynamic system: enter image description here I have two questions: (1) How to set the object function (object1) of V(X(T)), where the value of…
Wei
  • 23
  • 5
2
votes
1 answer

Runtime Error while using the class:SellarMDAPromoteConnect, as given in the OpenMDAO tutorial

I am just getting started with the tutorials of OpenMDAO, I was trying out the Sellar - A Two-Discipline Problem with a Nonlinear Solver tutorial and soon ran into an error. There are three ways included in the website to promote and connect…
2
votes
1 answer

How are the design variables in the SimpleGA or DifferentialEvolution drivers initialized?

I am having trouble navigating the source code to see how the design variables in the initial population for the SimpleGA and DifferentialEvolution Drivers are set. Is there some sort of Latin Hypercube sampling of the design variable ranges? Do…
gbarter
  • 183
  • 1
  • 6
2
votes
1 answer

OpenMDAO: discrete optimization problems; how to define the set of discrete variables?

I am trying to learn how to use OpenMDAO in order to solve discrete optimization problems. I saw that it was possible to define discrete variables…
2
votes
1 answer

Passing Initial Guesses to Non-Linear Solver as a Function of Outputs of Other Components

I am working on a relatively simple model with 3 Explicit Components (Leg, Cable, BCan) and 1 Implicit (LegCableBal). The implicit component has a number of residual equations. For most of the state variables, the best initial guess would be a value…
2
votes
1 answer

Dymos tricky phase connection

I have 3 phases in my Dymos trajectory. In the first and last phases I am using angle of attack as control. In the second phase, I do not want to control but just let the angle of attack stay at the last value from the first phase. I turned off…
Mark Garnett
  • 197
  • 7
2
votes
0 answers

Can OpenMDAO co-operate with autograd or jax?

Could the autograd or jax packages be used to generate the equivalent of analytic derivatives for OpenMDAO explicit components? i.e. something more accurate than finite differences (or perhaps more accurate or more general than the complex step…
2
votes
1 answer

Variable size for input parameter array

To give you a bit of a background, I am trying to maximize the total coverage by a satellite constellation. So what I basically do is estimate the initial state vector for every satellite, propagate them over a period of time and co-relate the area…
Skyrider
  • 133
  • 6
2
votes
1 answer

Checking if the optimizer support gradient

I want to distinguish optimizers (gradients based and free). If I use the sample optimization in the main webpage of OpenMDAO which uses SLSQP and check if the optimizer supports gradients I get "False" as in; prob.driver.supports['gradients'] is…
ali ali
  • 53
  • 5
2
votes
1 answer

Structural optimization with OpenMDAO

I recently started working with OpenMDAO and Im still learning to use it. I'm using OpenMDAO to optimize a structural design of a system. I use my analytical model(with assumptions of course) to compute maximum stress and natural frequency of my…
Skyrider
  • 133
  • 6
2
votes
1 answer

How to pass string values between OpenMDAO components?

I would like to be able to pass string values between components. Is this possible in the latest version of OpenMDAO or will this be possible in future releases? If I understand correctly, then the passing of strings was supported in earlier…
2
votes
1 answer

(Openmdao 2.4.0) difference between providing no derivatives / forcing FD on a disciplines with derivatives

this question is in line with this one but it is not the same. The objective is still for students purpose ! Still playing with Sellar problem , I compared the 2 different problems : problem 1 : MDA of Sellar without derivatives information on…
2
votes
1 answer

Parallel finite-difference calculation in OpenMDAO executes each point in each process

I am trying to set up a problem in OpenMDAO and would like to make use of parallel finite difference computations. However, when I call compute_totals() each MPI process actually computes all the perturbed points. I have made a minimal example that…
D. de Vries
  • 417
  • 3
  • 12
2
votes
1 answer

Basics - Solvers for MDA Groups

I am confused about the solvers that are connected to the multidisciplinary groups as in sellar problem. What matrix are they essentially constructing? What are they converging to ? It is probable that I am missing something very obvious. Is…
bey
  • 51
  • 4
2
votes
1 answer

Adjoint Cost from the Beam Example

It is often said that the computational cost of the adjoint method does not increase with increasing numbers of design variables. However, it seems like there should be some computational impact from increasing the size of the problem. For example,…
user2375049
  • 350
  • 2
  • 15
1
2
3
34 35