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
2 answers

OpenMDAO PetscTgtVecWrapper TypeError

I'm trying to get a parallel workflow to run in which I'm evaluating over 1000 parallel cases inside a ParallelGroup. If I run on a low amount of cores it doesn't crash, but increasing the number of nodes at some point raises an error, which…
frza
  • 56
  • 4
0
votes
1 answer

Using a metamodel in a design process using a nested approach

We are interested in using a surrogate model in an aircraft design process implemented in OpenMDAO. Basically we want to use an aerodynamic code (such as VSPaero in our aim) to produce a database (using a DOE ) and then built a surrogate that will…
RicONERA
  • 1
  • 1
0
votes
1 answer

Optimizer selection for Multi-Disciplinary Problems

I am trying to solve the problems in MDO Test suite using OpenMDAO as a means of validation. The issue I am facing is selecting the optimizer/algorithms for a given problem. Following is the code for the Propane Combustion Problem from the suite…
Divya Manglam
  • 491
  • 2
  • 13
0
votes
1 answer

parallel DoE with distributed components in OpenMDAO

I'm trying to run a DoE in parallel on a distributed code, which doesn't seem to work. Below is a simplified example that raises the same error as for the real code. import numpy as np from openmdao.api import IndepVarComp, Group, Problem,…
frza
  • 56
  • 4
0
votes
1 answer

Create custom driver/executor in OpenMDAO 1.x

I am using OpenMDAO to carry out a simulation of a CNC turning process and want to implement my own 'executor(s)' for my Components - much like the car example in the older versions of OpenMDAO, where SimAcceleration driver is used to implement the…
Amogh Kulkarni
  • 95
  • 1
  • 11
0
votes
1 answer

Check partial derivatives and finite differences error

In relation with my previous question Scaled paraboloid and derivatives checking, I see that you fixed related to running the problem once. I wanted to try but I still have a problem with the derivatives checking and finite differences showed in the…
relf
  • 139
  • 1
  • 6
0
votes
2 answers

OPENMDAO: Do I need to activate openmdao 1.6.3 just like what I did in version 0.9.5?

I am now trying to modify "webcam-pulse-detector" which makes use of openmdao and it failed in openmdao for two versions. In version 0.9.5, it reports import error "no module named traits.api" and in the newest version 1.6.3, it reports error…
0
votes
1 answer

Exit flag in pyOptSparseDriver

I need the ability to specify an exit flag if something failed. The OpenMDAO documentation for the pyoptsparse_driver has the option for an exit flag. However, when I run it with an exit flag as an option it says that Option 'exit_flag' has not been…
Ry10
  • 87
  • 4
0
votes
1 answer

OpenMDAO: Replacing ExecComps with normal Components changes output

I was running the code of 'Sellar exmaple' from the tutorials. According to the docs given on the tutorial page, the ExecComp is just a shorthand for declaring a normal Component. So I tried redefining the ExecComps in the example as normal…
Amogh Kulkarni
  • 95
  • 1
  • 11
0
votes
1 answer

Error when finite differencing group with PBO

So I am trying to finite difference across a group and I'm running into the error File "/usr/local/lib/python2.7/site-packages/openmdao/core/system.py", line 531, in fd_jacobian target_input[idx] += step TypeError: '_ByObjWrapper' object does…
Ry10
  • 87
  • 4
0
votes
1 answer

Finite difference between old and new OpenMDAO

So I am converting a code from the old OpenMDAO to the new OpenMDAO. All the outputs and the partial gradients have been verified as correct. At first the problem would not optimize at all and then I realized that the old code had some components…
Ry10
  • 87
  • 4
0
votes
1 answer

OpenMDAO Extracting and setting params from a openmdao group

I have set up a couple problems in openMDAO, I want to extract the "params" vector for one, and use that to set the input for another. Basically the first optimizes some stuff, then I want to use that solution in another problem to do something else…
Mike McWilliam
  • 166
  • 1
  • 9
0
votes
1 answer

Where to post bugs from openMDAO

I found a bug in openMDAO. Nothing serious, but I couldn't find where to post the bug. Does someone know if there is a bug tracker or something?
Mike McWilliam
  • 166
  • 1
  • 9
0
votes
1 answer

In OpenMDAO how to specify values to IndepVarComp or other components?

I am just playing around with the Paraboloid tutorial in OpenMDAO. I tried something simple, basically changing the input values to the Paraboloid component. See the following code. When I run it though, it will print the same result as if nothing…
Mike McWilliam
  • 166
  • 1
  • 9
0
votes
1 answer

Implementing AMMF within OpenMDAO

I am interested in exploring Multi-Fidelity (MF) optimization methods. I am trying to figure out how well OpenMDAO will support this work. I don't want to get too deep into OpenMDAO code unless I am sure it can do the job. One of the simple MF…
Mike McWilliam
  • 166
  • 1
  • 9