Find highest correlation by varying a constant

Find highest correlation by varying a constant

I would like to solve the following:

I have three parameters: X, Y and Z. The values of these parameters are
yielded by numerical simulations for each case. In total I have 72 simulations.

There is ...