我試圖嵌入由openMdao生成到Jupyter筆記本採用下面的代碼N2 digaram: from openmdao.api import Problem
from openmdao.examples.beam_tutorial import BeamTutorial
from openmdao.api import view_model
from IPython.core.displa
我試圖用OpenMDAO解決簡單的隱式方程。該公式如下所示, X * Z + Z - 4 = 0 Y = X + 2 * Z 的解決方案是Z = 2.666667,Y = 5.833333對於x = 0.5。 對於這種情況,我已經使用其在下面示出的代碼, from __future__ import print_function
from openmdao.api import Compone