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
0
votes
1 answer

OpenMDAOv1+: Is there a way to finite difference over a single variable in a component?

I'm pretty sure I already know the answer to this, but is there a way to finite difference over a single variable in a component that already provides the derivatives of all its other variables? The only way I can come up with is to hard code my own…
jthomas
  • 2,437
  • 1
  • 13
  • 15
0
votes
1 answer

parallelize openmdao optimization with different initial guesses

In order to find a better minimum, I currently create and run multiple instances of openmdao problem with different initial guesses, then select the solution with the best performance. To make this process faster, I currently use Python's…
pkerichang
  • 60
  • 5
0
votes
1 answer

OpenMDAO 1.x: recording desvars, constraints and objective

How can you get information about which variables are design vars, objectives or constraints from the information saved by recorders? It would be useful to print this information to a file to track optimization progress during a run. It looks like…
frza
  • 56
  • 4
0
votes
1 answer

OpenMDAO 1.x: recording in parallel

When running an analysis under MPI with distributed components in a ParallelGroup, I get an error when adding a DumpRecorder to the analysis. Below is a small example that demonstrates this (this was run with the latest master branch commit…
frza
  • 56
  • 4
0
votes
2 answers

How can we specify that a given parameter does not affect the gradient of a component in OpenMDAOv1+?

How can we specify that a given parameter does not affect the gradient of a component in OpenMDAOv1+? In earlier versions we set missing_deriv_policy = 'assume_zero', but that does not seem to exist in new OpenMDAO1+. I think I can just add inputs…
jthomas
  • 2,437
  • 1
  • 13
  • 15
0
votes
1 answer

OpenMDAO 1.2.0 implicit component

I new to OpenMDAO and I'm still learning how to formulate the problems. For a simple example, let's say I have 3 input variables with the given bounds: 1 <= x <= 10 0 <= y <= 10 1 <= z <= 10 and I have 4 outputs, defined as: f1 = x * y f2 = 2 *…
pkerichang
  • 60
  • 5
0
votes
1 answer

OpenMDAO v0.13: GUI Error after Installation

I have recieved error when I intend to start GUI as indicated Installation video. Thanks everyone I am using Ubuntu 14.04 LTS, Here is the video / @9:46: https://www.youtube.com/watch?v=5oWyY_L4Vxc and Here is the my error…
oneral
  • 1
  • 3
0
votes
2 answers

How to setup multi-level MDO formulation with openmdao 1.x?

As an openmdao 1.x problem handles only one driver and as optimizers are still supposed to be drivers, how a multi-level formulation could be implemented? Should I use two problems? Should I call an optimizer directly within a solve_nonlinear…
relf
  • 139
  • 1
  • 6
0
votes
1 answer

OpenMDAO v0.13: Gradients of constraints and objectives

I am having convergence issues with a large optimization and I believe the problem may be related to the way I am declaring the objective and the constraints with relation to the gradients provided by the respective components. Is there a way to…
jthomas
  • 2,437
  • 1
  • 13
  • 15
0
votes
1 answer

OpenMDAO v0.13: error only when trying to run optimization in parallel "IndexError: list index out of range"

Please see the example added at the bottom, they pinpoint the error a little better than the original one. I have been trying to get the attached code to run in parallel. This code is meant to mimic the structure of a larger optimization code that I…
jthomas
  • 2,437
  • 1
  • 13
  • 15
0
votes
1 answer

OpenMDAO v0.13: performing an optimization when using multiple instances of a components initiated in a loop

I am setting up an optimization in OpenMDAO v0.13 using several components that are used many times. My assembly seems to be working just fine with the default driver, but when I run with an optimizer it does not solve. The optimizer simply runs…
jthomas
  • 2,437
  • 1
  • 13
  • 15
0
votes
1 answer

OpenMDAO v0.10.3.2: problems using a case iterator driver in the workflow of an optimizer driver

For compatibility reasons I am using OpenMDAO v0.10.3.2 I am trying to set up an optimization problem in OpenMDAO that requires the use of a case iterator driver within the workflow of an optimizer. To illustrate, I have created the simple example…
jthomas
  • 2,437
  • 1
  • 13
  • 15
0
votes
1 answer

Setting inputs for CaseIteratorDriver in OpenMDAO

What is the best way to set inputs in CaseIteratorDriver? An example shows direct assignment via: self.driver.case_inputs.param_name = [0,1,2] That doesn't seem to properly get handled when running CaseIteratorDriver in parallel. I tried setting…
0
votes
2 answers

Using Python OpenMDAO in an IDE (PyScripter)

I'm trying to use the OpenMDAO package in the PyScripter IDE, running Python2.7 on Windows 8. But trying to import openmdao I'm returned with the error "No module named openmdao". The OpenMDAO installation instructions say to (i) run the…
BoltzmannBrain
  • 5,082
  • 11
  • 46
  • 79
0
votes
2 answers

Installing OpenMDAO

I am trying to install OpenMDAO, which is an open source framework that uses python. So before I get to it, it needs 3 packages: Fortran Compiler NumPY ScyPy Which I did install using homebrew: brew install gfortran sudo easy_install-2.6 pip sudo…
mauricioSanchez
  • 366
  • 10
  • 23
1 2 3
34
35