If this is a gerstner wave then all of the solution is in the math of the wave.

gerstner wave should have a period of 0-2pi IIRC. Double check that is the case, and then clamp your value going into the sine to be 0-2pi and you will have isolate a single wave. Of course then the problem becomes that your single wave could be virutally anywhere based on how much time has passed in the Time variable. to get around that, you should replace Time with a Scalar parameter for now so you can set it it to 0 so the wave will be at position 0. Then you will need to figure out how to repeat time using Floating Modulus (the % operation) to have it repeat over an interval. You’d need to handle positioning the wave and its repeat domain manually.

I am kind of questioning if this is what you really want since you could also just have all the waves present and then use a final spheremask to multiply down the heights, but as others have pointed out its hard to tell what solution is best without more information.