I am using OpenMDAO to carry out a simulation of a CNC turning process and want to implement my own 'executor(s)' for my Component
s - much like the car example in the older versions of OpenMDAO, where SimAcceleration driver is used to implement the way the Components will be executed.
However, I don't know how we can implement such an example in OpenMDAO 1.x, where we might want to implement custom logic to drive inputs to and fetch outputs from Components and/or Group
s. Any pointers will be really helpful.
P.S. - I was thinking of wrapping my Components in a Problem
and create an instance of it in another Component and put all the execution logic in its solve_nonlinear
(as suggested here). But I'm not sure if this is the right approach to deal with this problem.