Closed vinx012 closed 4 years ago
Your problem is that data:handling_qualities:static_margin:to_target
is used as objective function in the definition of the optimization problem
By removing the module, you removed this variable, so OpenMDAO complains about a variable it does not know.
So, to solve this error, you simply have to change or remove the definition of the optimization problem.
I have a problem when changing the configuration file. In fact, if I want to perform a simple analysis, let's say only the geometry and aerodynamics modules, I get the following error when removing the "fastoad.handling_qualities.static_margin" module:
RuntimeError: Group (): Output not found for response 'data:handling_qualities:static_margin:to_target'.
How can I remove this module without getting this error?