you can use a mathematical model of the response surface to find out the contour plot and a surface plot reaching the optimum combination of corrosion environment as an example in the attached reference was applied to determine the optimal combination of corrosion inhibitor, immersion time, and HCl concentration. Central Composite Design (CCD) ;
MINIMIZATION OF CORROSION RATE USING RESPONSE SURFACE METHODOLOGY