Hi I would like to use OPM for optimal control of injection and production. As such I need the derivatives/sensitivities of the a given objective function with respect to controls. This can be calculated using the discrete adjoint method which in turn requires derivatives of the residuals with respect to the dynamic variables and controls.
I can see that there are some solvers such as SimulatorIncompTwophaseAd and ImpesTPFAAD, which I guess uses Automatic Differentiation. Is it possible to extract relevant derivatives from these functions, e.g. by using the function LinearizedBlackoilResidual and FullyImplicitBlackoilSolver? I am currently modifying the sim_simple.cpp example but if the functionality is implemented in one of the solvers in any way, I would prefer to use them. Kind Regards Tobias
_______________________________________________ Opm mailing list [email protected] http://www.opm-project.org/mailman/listinfo/opm
