Rate goes up and down simulation scenario


So the scenario I want to create is to have a large group of users injected in the beginning then after wards, the rate of injection users goes up and down.

I was thinking of using the following sequence

rampUsersPerSec(rate1) to(rate2) during(duration) randomized

is rampUsersPerSec the best approach in my case or is there other methods can be suited in my case?