Automate to find maximum goal value?

Hi,

I set up solidworks flow with goals.

I have specific goal with a variable that I would like to change and test to find maximum value.

For example I'd like to change RPM of real wall to find maximum POWER at RPM range from 5 to 120. Is this possible to automate?

Power goal has manually written RPM value which is actually "real wall 1" rotation. Power is calculated from Torque over Z axis and rpm.

SolidworksFlow Simulation